.rnfi-login-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(147, 226, 255, 0.55), transparent 18%),
    linear-gradient(135deg, #07123d 0%, #08184f 48%, #0b235f 100%);
  font-family: "Source Sans Pro", sans-serif;
  overflow-x: hidden;
}

.rnfi-login-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
}

/* Help feature: floating support entry point and popup flow */
@keyframes rnfiHelpFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.rnfi-help-widget {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rnfi-help-trigger {
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
  color: #0f4270;
  box-shadow: 0 10px 30px rgba(10, 27, 64, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  animation: rnfiHelpFloat 2.8s ease-in-out infinite;
}

.rnfi-help-trigger:hover,
.rnfi-help-trigger:focus {
  color: #0f4270;
  transform: translateY(-1px);
}

.rnfi-help-label {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
}

.rnfi-help-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 38, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1180;
}

.rnfi-help-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rnfi-help-panel {
  position: fixed;
  right: 28px;
  bottom: 116px;
  width: min(350px, calc(100vw - 56px));
  max-width: calc(100vw - 56px);
  max-height: min(calc(100vh - 150px), 420px);
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(7, 18, 47, 0.28);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 1201;
}

.rnfi-help-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.rnfi-help-panel.rnfi-help-panel-form {
  width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 90px);
}

.rnfi-help-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 16px;
  background: #0a153f;
  color: #ffffff;
}

.rnfi-help-header-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.rnfi-help-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: 0 0 34px;
}

.rnfi-help-header-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.rnfi-help-header-subtitle {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.2;
}

.rnfi-help-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #12244d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.rnfi-help-body {
  padding: 14px 12px 14px;
  background: #ffffff;
  max-height: calc(100vh - 230px);
  overflow-y: auto;
  overflow-x: hidden;
}

.rnfi-help-option {
  width: 100%;
  border: 1px solid #d9e6f4;
  border-radius: 20px;
  background: linear-gradient(180deg, #e9f5ff 0%, #d8ecff 100%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  text-align: left;
  color: #1f2c44;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.rnfi-help-option + .rnfi-help-option {
  margin-top: 14px;
}

.rnfi-help-option-complaint {
  background: linear-gradient(180deg, #ffe0e0 0%, #ffc6c6 100%);
}

.rnfi-help-option-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #2170c9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex: 0 0 42px;
}

.rnfi-help-option-complaint .rnfi-help-option-icon {
  color: #ef746d;
}

.rnfi-help-option-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.rnfi-help-option-text {
  display: block;
  margin-top: 3px;
  color: #5f6b7f;
  font-size: 0.88rem;
  line-height: 1.2;
}

.rnfi-help-form {
  padding: 18px 22px 22px;
  background: #ffffff;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  overflow-x: hidden;
}

.rnfi-help-panel-form .rnfi-help-form {
  padding-top: 20px;
}

.rnfi-help-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 14px;
}

.rnfi-help-form-grid-two {
  grid-template-columns: 1fr 1fr;
}

.rnfi-help-form-group label {
  display: block;
  margin-bottom: 8px;
  color: #232f45;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
}

.rnfi-help-field,
.rnfi-help-select,
.rnfi-help-textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #b9c5d3;
  border-radius: 22px;
  background: #ffffff;
  color: #1f2c44;
  font-size: 0.96rem;
  padding: 9px 18px;
  box-shadow: none;
}

.rnfi-help-textarea {
  min-height: 98px;
  border-radius: 18px;
  resize: none;
}

.rnfi-help-panel-form .rnfi-help-header {
  padding-bottom: 15px;
}

.rnfi-help-panel-form .rnfi-help-header-title {
  font-size: 1.02rem;
}

.rnfi-help-panel-form .rnfi-help-header-subtitle {
  margin-top: 4px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.rnfi-help-panel-form .rnfi-help-submit {
  min-height: 48px;
  margin-top: 20px;
}

.rnfi-help-form .select2-container {
  width: 100% !important;
}

.rnfi-help-form .select2-container--default .select2-selection--single {
  min-height: 42px;
  border: 1px solid #b9c5d3;
  border-radius: 22px;
  padding: 6px 18px;
}

.rnfi-help-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #1f2c44;
  line-height: 28px;
  padding-left: 0;
}

.rnfi-help-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px;
  right: 12px;
}

.rnfi-help-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: #22b157;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.rnfi-help-submit:hover,
.rnfi-help-submit:focus {
  background: #1ea150;
  color: #ffffff;
}

.rnfi-help-feedback {
  margin: 0 0 16px;
  font-size: 0.92rem;
}

@media (max-width: 767.98px) {
  .rnfi-help-widget {
    right: 16px;
    bottom: 14px;
  }

  .rnfi-help-trigger {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .rnfi-help-label {
    font-size: 0.95rem;
  }

  .rnfi-help-panel,
  .rnfi-help-panel.rnfi-help-panel-form {
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    bottom: 96px;
    max-height: calc(100vh - 110px);
  }

  .rnfi-help-header {
    padding: 16px 16px 14px;
    gap: 12px;
  }

  .rnfi-help-header-title {
    font-size: 0.98rem;
  }

  .rnfi-help-header-subtitle,
  .rnfi-help-option-text {
    font-size: 0.84rem;
  }

  .rnfi-help-body {
    padding: 12px;
    max-height: calc(100vh - 210px);
  }

  .rnfi-help-option {
    gap: 12px;
    padding: 12px 14px;
  }

  .rnfi-help-form {
    padding: 16px 16px 18px;
    max-height: calc(100vh - 188px);
  }

  .rnfi-help-form-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .rnfi-help-panel {
    right: 20px;
    bottom: 104px;
    width: min(336px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 124px);
  }

  .rnfi-help-panel.rnfi-help-panel-form {
    width: min(396px, calc(100vw - 40px));
    right: 20px;
    bottom: 104px;
    max-height: calc(100vh - 104px);
  }

  .rnfi-help-body {
    max-height: calc(100vh - 214px);
  }

  .rnfi-help-form {
    padding: 16px 18px 18px;
    max-height: calc(100vh - 186px);
  }

  .rnfi-help-form-grid-two {
    grid-template-columns: 1fr;
  }
}

.rnfi-login-hero {
  /* position: relative;
  flex: 0 0 57%;
  max-width: 57%;
  background: #f8fbff;
  border-top-right-radius: 320px;
  border-bottom-right-radius: 320px;
  overflow: hidden;
  display: flex;
  align-items: stretch; */
  position: relative;
  flex: 0 0 57%;
  max-width: 55%;
  background: #f8fbff;
  border-top-right-radius: 210px;
  border-bottom-right-radius: 112px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.rnfi-login-hero::before {
  content: "";
  position: absolute;
  inset: auto auto 8% 10%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(153, 255, 179, 0.45), rgba(153, 255, 179, 0));
  pointer-events: none;
}

.rnfi-login-hero::after {
  content: "";
  position: absolute;
  inset: 10% auto auto -8%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(123, 221, 255, 0.35), rgba(123, 221, 255, 0));
  pointer-events: none;
}

.rnfi-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 108px;
}

.rnfi-hero-copy {
  max-width: 630px;
}

.rnfi-hero-title {
  margin: 0 0 12px;
  color: #1e2b43;
  font-size: clamp(2.4rem, 3.25vw, 4.15rem);
  line-height: 1.05;
  font-weight: 400;
}

.rnfi-hero-title strong {
  font-weight: 700;
  color: #3675cf;
}

.rnfi-hero-subtitle {
  margin: 0 0 10px;
  color: #202d44;
  font-size: clamp(1.18rem, 1.42vw, 1.75rem);
  line-height: 1.28;
  font-weight: 500;
}

.rnfi-hero-text {
  max-width: 590px;
  margin: 0;
  color: #344257;
  font-size: 1rem;
  line-height: 1.58;
}

.rnfi-hero-visual {
  display: block;
  align-self: flex-start;
  width: min(100%, 760px);
  height: auto;
  margin: 34px 0 30 -42px;
}

.rnfi-dashboard-stage {
  position: relative;
  margin-top: 28px;
  min-height: 335px;
}

.rnfi-dashboard-hero-image {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: min(100%, 700px);
  z-index: 0;
}

.rnfi-dashboard-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.rnfi-dashboard-card {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: min(100%, 520px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(100, 130, 180, 0.18);
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(30, 65, 114, 0.16);
  backdrop-filter: blur(14px);
  padding: 14px 14px 10px;
  z-index: 1;
}

.rnfi-dashboard-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.rnfi-mini-stat {
  background: rgba(238, 245, 255, 0.95);
  border: 1px solid rgba(123, 156, 214, 0.18);
  border-radius: 12px;
  padding: 8px 8px 7px;
}

.rnfi-mini-label {
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 600;
  color: #6f7b90;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rnfi-mini-value {
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  color: #1d3557;
}

.rnfi-mini-trend {
  margin-top: 4px;
  font-size: 9px;
  color: #1bb36b;
}

.rnfi-chart-panel {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
}

.rnfi-panel-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(113, 145, 197, 0.18);
  border-radius: 14px;
  padding: 12px;
}

.rnfi-panel-title {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #1d3557;
}

.rnfi-funnel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.rnfi-funnel-row:last-child {
  margin-bottom: 0;
}

.rnfi-funnel-label {
  width: 74px;
  font-size: 9px;
  font-weight: 600;
  color: #556176;
}

.rnfi-funnel-bar {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: #e7eef8;
  overflow: hidden;
}

.rnfi-funnel-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.rnfi-funnel-fill.is-blue {
  background: linear-gradient(90deg, #4d78dd 0%, #5fa0f4 100%);
}

.rnfi-funnel-fill.is-cyan {
  background: linear-gradient(90deg, #4aa0da 0%, #54c0dd 100%);
}

.rnfi-funnel-fill.is-green {
  background: linear-gradient(90deg, #2fbe6d 0%, #67e3a3 100%);
}

.rnfi-distributor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rnfi-distributor-row:last-child {
  margin-bottom: 0;
}

.rnfi-distributor-index {
  width: 16px;
  font-size: 9px;
  font-weight: 700;
  color: #7a869b;
}

.rnfi-distributor-track {
  flex: 1;
  height: 5px;
  background: #eaf0f8;
  border-radius: 999px;
  overflow: hidden;
}

.rnfi-distributor-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4d78dd 0%, #9cead1 100%);
}

.rnfi-distributor-pill {
  min-width: 34px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #edf5ff;
  font-size: 8px;
  font-weight: 700;
  color: #3e79c8;
  text-align: center;
}

.rnfi-trend-chart {
  position: relative;
  margin-top: 12px;
  height: 82px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(60, 111, 210, 0.05), rgba(60, 111, 210, 0)),
    repeating-linear-gradient(to right, rgba(130, 151, 185, 0.14) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to top, rgba(130, 151, 185, 0.12) 0 1px, transparent 1px 26px);
}

.rnfi-wave {
  position: absolute;
  inset: auto 0 0 0;
  border-radius: 50% 50% 0 0;
}

.rnfi-wave.is-blue {
  height: 60px;
  background: linear-gradient(180deg, rgba(89, 147, 239, 0.85), rgba(89, 147, 239, 0.15));
  clip-path: polygon(0% 78%, 8% 66%, 16% 59%, 24% 62%, 32% 72%, 40% 82%, 48% 64%, 56% 52%, 64% 58%, 72% 70%, 80% 81%, 88% 74%, 100% 62%, 100% 100%, 0% 100%);
}

.rnfi-wave.is-green {
  height: 68px;
  background: linear-gradient(180deg, rgba(59, 207, 126, 0.82), rgba(59, 207, 126, 0.15));
  clip-path: polygon(0% 84%, 10% 76%, 20% 79%, 30% 67%, 40% 51%, 50% 55%, 60% 68%, 70% 73%, 80% 61%, 90% 44%, 100% 40%, 100% 100%, 0% 100%);
}

.rnfi-side-card {
  position: absolute;
  right: 52px;
  bottom: 0;
  width: 148px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(113, 145, 197, 0.18);
  border-radius: 16px;
  box-shadow: 0 20px 36px rgba(24, 52, 92, 0.18);
  padding: 12px 10px 10px;
}

.rnfi-side-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 7px;
  border: 1px solid #e5edf8;
  border-radius: 12px;
}

.rnfi-side-row:last-child {
  margin-bottom: 0;
}

.rnfi-side-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef4ff 0%, #dce9fb 100%);
  color: #3b74c5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.rnfi-side-text strong {
  display: block;
  font-size: 10px;
  color: #27364d;
}

.rnfi-side-text span {
  display: block;
  font-size: 9px;
  color: #6b778c;
}

.rnfi-floating-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(245, 250, 255, 0.95);
  box-shadow: 0 16px 30px rgba(50, 85, 135, 0.12);
  color: #20304a;
  font-size: 1rem;
  font-weight: 700;
}

.rnfi-floating-pill strong {
  color: #12588f;
}

.rnfi-floating-pill.is-top {
  right: 166px;
  top: -18px;
}

.rnfi-floating-pill.is-bottom {
  left: -24px;
  bottom: -20px;
}

.rnfi-avatar-badge {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d7e6fb 0%, #5a7bb0 100%);
  box-shadow: 0 18px 32px rgba(44, 66, 103, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.rnfi-avatar-badge::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2b4a 0%, #5676ab 100%);
}

.rnfi-avatar-badge.is-left {
  left: -26px;
  bottom: 98px;
}

.rnfi-avatar-badge.is-right {
  right: 112px;
  top: 10px;
}

.rnfi-login-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px;
}

.rnfi-login-panel-inner {
  width: 100%;
  max-width: 438px;
  color: #ffffff;
}

.rnfi-brand-wrap {
  text-align: center;
  margin-bottom: 18px;
}

.rnfi-brand-logo {
  max-width: 250px;
  width: 100%;
  height: auto;
}

.rnfi-login-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rnfi-login-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.rnfi-login-subtitle {
  margin: 0 0 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.45;
}

.rnfi-login-card h6.text-white {
  margin-bottom: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95) !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rnfi-login-card .input-group {
  align-items: stretch;
}

.rnfi-login-card .form-control {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px 0 0 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #1d2c45;
  padding-left: 18px;
  font-size: 0.98rem;
  box-shadow: none;
}

.rnfi-login-card .form-control::placeholder {
  color: #758195;
}

.rnfi-login-card .input-group-text {
  min-width: 54px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: rgba(255, 255, 255, 0.98);
  color: #2d4f88;
}

.rnfi-login-card .btn-primary {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #13a857 0%, #22bf66 100%);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: none;
}

.rnfi-login-card .btn-primary:hover,
.rnfi-login-card .btn-primary:focus {
  background: linear-gradient(90deg, #11974f 0%, #1fb25f 100%);
  box-shadow: none;
}

.rnfi-login-card .alert {
  display: none;
  border-radius: 16px;
}

.rnfi-otp-helper {
  margin: 2px 0 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-size: 0.96rem;
}

.rnfi-otp-helper #mobnum {
  color: #33a6ff !important;
  font-weight: 700;
}

.rnfi-otp-actions {
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
}

.rnfi-otp-actions #resendotpbtn {
  background: transparent !important;
  border: 0 !important;
  color: #33a6ff !important;
  padding: 0 !important;
  font-size: inherit;
  box-shadow: none !important;
}

.rnfi-otp-actions #resendotpbtn.disabled {
  opacity: 1;
  color: #33a6ff !important;
}

.rnfi-login-footer-actions {
  margin-top: 20px;
  text-align: center;
}

.rnfi-login-footer-actions .btn {
  min-width: 180px;
  border-radius: 999px;
  padding: 10px 18px;
}

.rnfi-login-footer-actions .btn + .btn {
  margin-left: 10px;
}

.rnfi-care-text {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.rnfi-modal-card label {
  font-weight: 700;
}

@media (min-width: 1200px) {
  .rnfi-login-page,
  .rnfi-login-shell {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .rnfi-login-hero,
  .rnfi-login-panel {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .rnfi-hero-inner,
  .rnfi-login-panel-inner {
    max-height: 100vh;
    max-height: 100dvh;
  }
}

@media (max-width: 1399.98px) {
  .rnfi-login-hero {
    flex-basis: 54%;
    max-width: 54%;
    border-top-right-radius: 240px;
    border-bottom-right-radius: 240px;
  }

  .rnfi-hero-inner {
    padding: 46px 42px 38px 78px;
  }

  .rnfi-hero-visual {
    width: min(100%, 700px);
    margin-left: -30px;
  }

  .rnfi-side-card {
    right: 20px;
  }
}

@media (max-width: 1199.98px) {
  .rnfi-login-shell {
    flex-direction: column;
  }

  .rnfi-login-hero,
  .rnfi-login-panel {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .rnfi-login-hero {
    min-height: auto;
    border-radius: 0 0 48px 48px;
    overflow: visible;
  }

  .rnfi-hero-inner {
    max-width: 760px;
    padding: 42px 28px 30px;
  }

  .rnfi-login-panel {
    padding: 34px 20px 40px;
  }

  .rnfi-hero-copy {
    max-width: 100%;
  }

  .rnfi-hero-visual {
    align-self: center;
    width: min(100%, 640px);
    margin: 28px auto 0;
  }
}

@media (max-width: 767.98px) {
  .rnfi-login-page,
  .rnfi-login-shell {
    overflow: visible;
  }

  .rnfi-hero-title {
    font-size: 2rem;
  }

  .rnfi-hero-subtitle {
    font-size: 1.18rem;
  }

  .rnfi-side-card,
  .rnfi-floating-pill,
  .rnfi-avatar-badge {
    display: none;
  }

  .rnfi-dashboard-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rnfi-chart-panel {
    grid-template-columns: 1fr;
  }

  .rnfi-hero-inner {
    padding: 34px 18px 22px;
  }

  .rnfi-hero-text {
    font-size: 0.94rem;
  }

  .rnfi-hero-visual {
    align-self: center;
    width: min(100%, 520px);
    margin: 22px auto 0;
  }

  .rnfi-login-panel {
    padding: 28px 16px 34px;
  }

  .rnfi-login-title {
    font-size: 1.6rem;
  }

  .rnfi-login-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .rnfi-brand-logo {
    max-width: 220px;
  }

  .rnfi-login-footer-actions .btn {
    min-width: 0;
    width: 100%;
    margin: 0 0 10px;
  }

  .rnfi-login-footer-actions .btn + .btn {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .rnfi-login-hero {
    border-radius: 0 0 32px 32px;
  }

  .rnfi-hero-title {
    font-size: 1.75rem;
    line-height: 1.15;
  }

  .rnfi-hero-subtitle {
    font-size: 1.02rem;
  }

  .rnfi-hero-visual {
    width: 100%;
    margin: 18px auto 0;
  }

  .rnfi-login-card .form-control,
  .rnfi-login-card .btn-primary {
    min-height: 46px;
  }

  .rnfi-login-card .input-group-text {
    min-width: 50px;
  }

  .rnfi-otp-helper,
  .rnfi-otp-actions,
  .rnfi-care-text {
    font-size: 0.92rem;
  }
}
