/* ============================================================
   Mulank Calculator — Reeth U Sarvvah  |  LIGHT THEME
   Scoped under .mulank-calc-wrap — no theme conflicts
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

.mulank-calc-wrap *,
.mulank-calc-wrap *::before,
.mulank-calc-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Outer wrapper ── */
.mulank-calc-wrap {
  font-family: 'DM Sans', sans-serif;
  width: 100%;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

/* ── Widget container ── */
.mulank-calc-widget {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border: 1px solid #e2ddd6;
}

/* ══════════════════════════════════════
   LEFT PANEL — Input
══════════════════════════════════════ */
.mulank-cw-left {
  background: #ffffff;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ede9e2;
}

.mulank-cw-eyebrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px;
  font-weight: 300;
  color: #0C703D;
  line-height: 1.15;
  margin-bottom: 12px;
}

.mulank-cw-sub {
  font-size: 14px;
  color: #7b7570;
  line-height: 1.65;
  margin-bottom: 40px;
}

/* Field labels */
.mulank-field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 10px;
  display: block;
}

/* Date input */
.mulank-date-input {
  width: 100%;
  background: #f9f7f4;
  border: 1.5px solid #e2ddd6;
  border-radius: 10px;
  padding: 15px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #2D3239;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  margin-bottom: 24px;
}

.mulank-date-input:focus {
  border-color: #0C703D;
  background: #f0faf4;
  box-shadow: 0 0 0 3px rgba(12,112,61,0.08);
}

/* OR separator */
.mulank-or {
  position: relative;
  text-align: center;
  margin: 4px 0 24px;
}

.mulank-or::before,
.mulank-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20%;
  height: 1px;
  background: #e2ddd6;
}

.mulank-or::before { left: 0; }
.mulank-or::after  { right: 0; }

.mulank-or span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b0a99f;
  background: #ffffff;
  padding: 0 12px;
  position: relative;
}

/* Day select */
.mulank-day-select {
  width: 100%;
  background: #f9f7f4;
  border: 1.5px solid #e2ddd6;
  border-radius: 10px;
  padding: 15px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #2D3239;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 32px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230C703D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.mulank-day-select:focus {
  border-color: #0C703D;
  box-shadow: 0 0 0 3px rgba(12,112,61,0.08);
}

.mulank-day-select option {
  background: #fff;
  color: #2D3239;
}

/* Calculate button */
.mulank-calc-btn,.mulank-calc-btn:active,.mulank-calc-wrap button:active {
  width: 100%;
  background: #0C703D;
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  margin-top: auto;
}

.mulank-calc-btn:hover {
  background: #148a4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12,112,61,0.25);
}

.mulank-calc-btn.error {
  background: #c0392b !important;
}

/* ══════════════════════════════════════
   RIGHT PANEL — Result
══════════════════════════════════════ */
.mulank-cw-right {
   background: #f7fffb;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
}

/* ── Placeholder ── */
.mulank-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 20px;
  text-align: center;
}

.mulank-placeholder-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px dashed #c9c2b8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.mulank-placeholder-ring svg {
  opacity: 0.4;
}

.mulank-placeholder-ring svg circle,
.mulank-placeholder-ring svg line {
  stroke: #0C703D;
}

.mulank-placeholder p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 210px;
  color: #b0a99f;
}

/* ── Result panel ── */
.mulank-result {
  display: none;
  flex-direction: column;
}

.mulank-result.active {
  display: flex;
  animation: mulankFadeIn 0.45s ease both;
}

@keyframes mulankFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Big number row */
.mulank-r-top {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 4px;
}

.mulank-r-bignum {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 96px;
  font-weight: 300;
  line-height: 1;
  color: #0C703D;
}

.mulank-r-meta {
  padding-bottom: 10px;
}

.mulank-r-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b0a99f;
  margin-bottom: 6px;
}

.mulank-r-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  color: #2daf19;
  font-style: italic;
  line-height: 1.2;
}

.mulank-r-planet {
  font-size: 13px;
  color: #7b7570;
  margin-top: 4px;
}

/* Calculation trail */
.mulank-r-trail {
  font-size: 12px;
  color: #b0a99f;
  letter-spacing: 0.04em;
  font-style: italic;
  margin: 6px 0 0;
}

.mulank-r-divider {
  height: 1px;
  background: #e8e2d8;
  margin: 18px 0;
}

/* Description */
.mulank-r-desc {
  font-size: 14px;
  color: #4a4540;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Trait chips */
.mulank-r-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.mulank-r-chip {
  background: #fff;
  border: 1px solid #92c4aa;
  color: #0C703D;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* Stats grid */
.mulank-r-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.mulank-r-stat {
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 8px;
  padding: 12px 14px;
}

.mulank-r-stat-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a8f81;
  margin-bottom: 5px;
}

.mulank-r-stat-value {
  font-size: 14px;
  color: #2D3239;
  font-weight: 600;
}

.mulank-r-colors {
  display: flex;
  gap: 7px;
  align-items: center;
}

.mulank-r-color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* CTA button */
.mulank-r-cta {
  background: #0C703D;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: block;
  text-align: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
}

.mulank-r-cta:hover {
  background: #148a4a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(12,112,61,0.2);
  color: #fff !important;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .mulank-calc-widget {
    grid-template-columns: 1fr;
  }
  .mulank-cw-left {
    border-right: none;
    border-bottom: 1px solid #ede9e2;
  }
  .mulank-cw-left,
  .mulank-cw-right {
    padding: 40px 28px;
  }
  .mulank-cw-right   { min-height: auto; }
  .mulank-cw-title   { font-size: 30px; }
  .mulank-r-bignum   { font-size: 72px; }
  .mulank-r-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .mulank-calc-wrap  { padding: 40px 12px; }
  .mulank-cw-left,
  .mulank-cw-right   { padding: 32px 20px; }
  .mulank-cw-title   { font-size: 26px; }
}
