/**
 * NITYA VIKAS — loan pages (extends deposit.css visuals).
 * Main layout uses .nv-deposit-page; loan-only blocks use .nv-ln-* under .nv-loan-product.
 */
@import url('deposit.css?v=5');

/* About — flat on section background (no inner card) */
.nv-deposit-page.nv-loan-product .nv-dep-about-panel {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Features — vertical box grid */
.nv-deposit-page.nv-loan-product .nv-ln-section-features {
  position: relative;
}

.nv-deposit-page.nv-loan-product .nv-ln-section-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 192, 102, 0.35), transparent);
  pointer-events: none;
}

.nv-deposit-page.nv-loan-product .nv-ln-features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .nv-deposit-page.nv-loan-product .nv-ln-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .nv-deposit-page.nv-loan-product .nv-ln-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nv-deposit-page.nv-loan-product .nv-ln-feature-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1.35rem 1.6rem;
  background: var(--nv-paper);
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius-lg);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nv-deposit-page.nv-loan-product .nv-ln-feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nv-gold), var(--nv-brand-lime), var(--nv-accent-teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nv-deposit-page.nv-loan-product .nv-ln-feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 192, 102, 0.45);
  box-shadow: var(--nv-shadow), 0 0 26px -10px var(--nv-brand-lime-glow);
}

.nv-deposit-page.nv-loan-product .nv-ln-feature-box:hover::before {
  opacity: 1;
}

.nv-deposit-page.nv-loan-product .nv-ln-feature-box__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(239, 192, 102, 0.25), rgba(146, 208, 79, 0.15));
  color: var(--nv-navy);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.nv-deposit-page.nv-loan-product .nv-ln-feature-box:hover .nv-ln-feature-box__icon {
  background: linear-gradient(145deg, rgba(239, 192, 102, 0.38), rgba(146, 208, 79, 0.28));
}

.nv-deposit-page.nv-loan-product .nv-ln-feature-box__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.58;
  color: var(--nv-ink-2);
  font-weight: 500;
}

[data-theme='dark'] .nv-deposit-page.nv-loan-product .nv-ln-feature-box__icon {
  color: var(--nv-gold-soft);
}

/* Eligibility */
.nv-deposit-page.nv-loan-product .nv-ln-eligibility-card {
  border-radius: var(--nv-radius-xl, 24px);
}

.nv-deposit-page.nv-loan-product .nv-ln-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem 1.5rem;
}

@media (min-width: 768px) {
  .nv-deposit-page.nv-loan-product .nv-ln-checklist {
    grid-template-columns: 1fr 1fr;
  }
}

.nv-deposit-page.nv-loan-product .nv-ln-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--nv-ink-2, #2d3a4d);
  font-weight: 500;
}

.nv-deposit-page.nv-loan-product .nv-ln-checklist i {
  color: var(--nv-accent-teal, #92d04f);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 0.12rem;
}

/* Loan-specific document list */
.nv-deposit-page.nv-loan-product .nv-ln-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nv-deposit-page.nv-loan-product .nv-ln-doc-list {
    grid-template-columns: 1fr 1fr;
  }
}

.nv-deposit-page.nv-loan-product .nv-ln-doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--nv-ink-2, #2d3a4d);
}

.nv-deposit-page.nv-loan-product .nv-ln-doc-list i {
  color: var(--nv-gold-deep, #b88a2e);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Process stepper */
.nv-deposit-page.nv-loan-product .nv-ln-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 992px) {
  .nv-deposit-page.nv-loan-product .nv-ln-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }

  .nv-deposit-page.nv-loan-product .nv-ln-steps::before {
    content: '';
    position: absolute;
    top: 1.75rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--nv-gold, #efc066), var(--nv-brand-lime), var(--nv-accent-teal, #92d04f));
    opacity: 0.45;
    z-index: 0;
  }
}

.nv-deposit-page.nv-loan-product .nv-ln-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0.5rem 0.35rem;
}

.nv-deposit-page.nv-loan-product .nv-ln-step__num {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(145deg, var(--nv-navy-2, #92d04f), var(--nv-navy, #92d04f));
  box-shadow: 0 10px 28px -10px rgba(26, 35, 50, 0.45);
  border: 2px solid rgba(244, 209, 138, 0.35);
}

.nv-deposit-page.nv-loan-product .nv-ln-step__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--nv-muted, #5c6574);
  font-weight: 500;
}

/* Risk note */
.nv-deposit-page.nv-loan-product .nv-ln-risk {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  border-radius: var(--nv-radius-lg, 22px);
  background: linear-gradient(135deg, rgba(184, 138, 46, 0.1), rgba(239, 192, 102, 0.12));
  border: 1px solid rgba(184, 138, 46, 0.25);
}

.nv-deposit-page.nv-loan-product .nv-ln-risk > i {
  font-size: 1.5rem;
  color: #b88a2e;
  flex-shrink: 0;
}

.nv-deposit-page.nv-loan-product .nv-ln-risk p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--nv-ink-2, #2d3a4d);
}

/* Branch strip (no calculator) */
.nv-deposit-page.nv-loan-product .nv-ln-branch-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.65rem 1.85rem;
  border-radius: var(--nv-radius-xl, 24px);
  background: linear-gradient(120deg, var(--nv-cream-2, #c3d5e9), var(--nv-paper, #fff));
  border: 1px solid var(--nv-line, rgba(10, 37, 64, 0.1));
  box-shadow: var(--nv-shadow, 0 18px 50px -20px rgba(26, 35, 50, 0.22));
}

.nv-deposit-page.nv-loan-product .nv-ln-branch-strip p {
  max-width: 40rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--nv-muted, #5c6574);
}

/* ============================================================
   Hero EMI calculator card (right side of loan hero) — flip card
   ============================================================ */
.nv-deposit-page.nv-loan-product .nv-ln-emi-card {
  position: relative;
  perspective: 1600px;
  z-index: 4;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-card__inner {
  position: relative;
  width: 100%;
  min-height: 470px;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-card.is-flipped .nv-ln-emi-card__inner {
  transform: rotateY(180deg);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-face {
  position: absolute;
  inset: 0;
  padding: 1.55rem 1.5rem 1.6rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.99) 0%, rgba(218,223,218,0.98) 100%);
  border-radius: var(--nv-radius-xl, 24px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 30px 70px -28px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--nv-ink, #1a2332);
  overflow: hidden;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-face::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(239, 192, 102, 0.20), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(146, 208, 79, 0.10), transparent 55%);
  pointer-events: none;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-face > * { position: relative; z-index: 1; }

.nv-deposit-page.nv-loan-product .nv-ln-emi-face--front {
  border-top: 4px solid var(--nv-gold, #efc066);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-face--back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #1a2332 0%, #314056 55%, #0d1825 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  border-top: 4px solid var(--nv-gold, #efc066);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-face--back::before {
  background:
    radial-gradient(ellipse 50% 35% at 80% 12%, rgba(239, 192, 102, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 35% at 12% 88%, rgba(146, 208, 79, 0.20), transparent 55%);
}

/* Head */
.nv-deposit-page.nv-loan-product .nv-ln-emi-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-face--back .nv-ln-emi-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--nv-gold-deep, #b88a2e);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-face--back .nv-ln-emi-eyebrow {
  color: var(--nv-gold-soft, #f4d18a);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-title {
  font-family: var(--nv-font-display, serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: inherit;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-sub {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--nv-muted, #5c6574);
}

/* Form */
.nv-deposit-page.nv-loan-product .nv-ln-emi-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-row { display: flex; flex-direction: column; gap: 0.35rem; }

.nv-deposit-page.nv-loan-product .nv-ln-emi-row label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nv-muted, #5c6574);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-row input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nv-ink, #1a2332);
  background: #fff;
  border: 1px solid rgba(10, 37, 64, 0.16);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-row input::placeholder { color: rgba(10, 37, 64, 0.35); font-weight: 500; }

.nv-deposit-page.nv-loan-product .nv-ln-emi-row input:focus {
  outline: none;
  border-color: var(--nv-gold, #efc066);
  box-shadow: 0 0 0 4px rgba(239, 192, 102, 0.18), 0 0 18px -6px var(--nv-brand-lime-glow);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-row input.is-invalid {
  border-color: #d34d4d;
  box-shadow: 0 0 0 4px rgba(211, 77, 77, 0.15);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-cta {
  margin-top: 0.35rem;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-hint {
  margin: 0.1rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--nv-muted, #5c6574);
  letter-spacing: 0.04em;
}

/* Result */
.nv-deposit-page.nv-loan-product .nv-ln-emi-headline {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  background: linear-gradient(135deg, rgba(239, 192, 102, 0.18), rgba(239, 192, 102, 0.05));
  border: 1px solid rgba(239, 192, 102, 0.4);
  border-radius: 14px;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-headline__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nv-gold-soft, #f4d18a);
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-headline__value {
  font-family: var(--nv-font-display, serif);
  font-size: clamp(1.7rem, 3.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.7rem;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 0.85rem;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-stats li span {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-stats li strong {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: auto;
}

.nv-deposit-page.nv-loan-product .nv-ln-emi-actions .nv-btn { flex: 1 1 0; justify-content: center; }

.nv-deposit-page.nv-loan-product .nv-btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.nv-deposit-page.nv-loan-product .nv-btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nv-deposit-page.nv-loan-product .nv-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Subtle entrance */
.nv-deposit-page.nv-loan-product .nv-ln-emi-card {
  animation: nv-ln-float 7s ease-in-out infinite;
}
@keyframes nv-ln-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@media (max-width: 991px) {
  .nv-deposit-page.nv-loan-product .nv-ln-emi-card { margin-top: 1.75rem; }
  .nv-deposit-page.nv-loan-product .nv-ln-emi-card__inner { min-height: 450px; }
}
