:root {
  /* SBI Life Brand Colors */
  --primary-purple: #2a2076;
  --primary-pink: #d60d47;
  --sbi-blue: #00569e;
  --sbi-red: #c2207b;

  /* Text Colors */
  --text-dark: #212529;
  --text-light: #6c757d;
  --text-muted: #999999;

  /* Background & Borders */
  --bg-white: #ffffff;
  --border-light: #e0e0e0;
  --border-focus: #4a237b;

  /* UI Elements */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
} /* Global Reset and Base Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.btn-check:focus + .btn,
.btn:focus {
  outline: 0;
  box-shadow: none;
}

/* ========= GRADIENT TEXT ========= */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-pink) 0%,
    var(--primary-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--font-weight-semibold);
  display: inline-block;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
  .gradient-text {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--primary-pink);
  }
}

.header-2 {
  height: auto;
  position: fixed;
  flex-shrink: 0; /* Prevents header from shrinking */
  padding-top: 40px;
  /* padding-bottom: 70px; */
  background: #ffffff;
  width: 100%;
}

.header-sub-bar {
  font-size: medium;
  background-color: #fceef2;
  color: #2a2076;
  font-weight: 600;
}

.back-icon {
  left: 10px;
}

/* Remove default button and input styles */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

input,
textarea {
  border: none;
  outline: none;
}

.sbi-btn {
  background-color: #2a2076;
  border: none;
  color: #fff;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(42, 32, 118, 0.3);
}

.sbi-btn:hover:not(:disabled) {
  background-color: #1f1760;
  color: #fff;
  box-shadow: 0 6px 12px rgba(42, 32, 118, 0.4);
  transform: translateY(-2px);
}

.sbi-btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.mpin-btn {
  background-color: transparent;
  color: #2a2076;
  border: 1.5px solid #2a2076;
  border-radius: 10px;
  font-weight: 600;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.mpin-btn:hover {
  background-color: #2a2076;
  color: #fff;
  box-shadow: 0 4px 10px rgba(42, 32, 118, 0.3);
  transform: translateY(-1px);
  transform: translateY(-2px);
}

.cta-btn {
  font-family: var(--font-family);
  background-color: #2a2076;
  border-radius: 10px;
  font-weight: 600;
  color: #fff;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.helper-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 125%;
  color: #918fa3;
}

.error-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 125%;
  color: #c90c0f;
}

.header {
  height: 60px;
  position: fixed;
  flex-shrink: 0; /* Prevents header from shrinking */
  /* padding-top: 55px; */
  padding-top: 30px;
  padding-bottom: 28px;
  z-index: 999;
}

.otp-input {
  width: 45px;
  height: 45px;
  font-size: 1.25rem;
  border-radius: 6px;
  border-color: #595959;
}

.otp-text {
  color: #186fd6;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
}

.body {
  flex: 1; /* Takes up all remaining space */
  background-color: #f7f6f9;
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 100%;
  overflow-y: auto; /* Enables vertical scrolling */

  /* background: #000; */
}

.bottom-nav {
  height: 80px;
  flex-shrink: 0; /* Prevents bottom nav from shrinking */
}

.head-title {
  text-transform: uppercase;

  font-size: medium;
  font-weight: 600;
  color: #414651;
  letter-spacing: 1px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles */
/* *:focus {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
} */

.logo {
  bottom: 80px;
}

.logo img {
  width: 250px;
}

/* mobile input */

.captcha-box {
  position: relative;
  padding: 1rem 0.75rem;
}

.captcha-label {
  position: absolute;
  top: -13px;
  left: 12px;
  text-align: left;
  display: inline-block;
  background-color: #fff;
  z-index: 99;
}

/* Mobile-first responsive design */

.mobile-container {
  max-width: 100%;
  /* min-height: 100vh; */
  min-height: calc(100dvh - 100px);
  height: 100%;
  padding: 40px 1rem;
  position: relative;
}

.container-border {
  border: 1px solid #ccc;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.mobile-input:focus + .form-label,
.mobile-input:not(:placeholder-shown) + .form-label {
  width: fit-content;
}

.font-blue {
  color: #2a2076;
}

.disclaimer {
  background-color: #e6f7fd;
  padding: 20px;
}

.check-box {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

input:focus {
  outline: 0;
}

#select-ele {
  border: none;
}

.mobile-container .custom-pills .index-head-link {
  font-size: 11px;
  padding: 5px 5px;
}

#otpModal .modal-dialog-centered {
  min-height: calc(100dvh - 70dvh);
}

/* Make the modal act like a bottom sheet that touches the bottom */
.modal-dialog-bottom {
  position: fixed;
  bottom: 0;
  margin: 0;
  width: 100%;
  max-height: 70vh;
  height: 70vh;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  animation: slideUp 0.4s ease-out;
}

.form-check-input:checked {
  background-color: transparent;
  border-color: #2a2076;
}

.form-select:focus {
  box-shadow: none;
}

.divider {
  width: 1px;
  height: 100%;
  background-color: #ccc;
  margin-right: 0.5rem;
}

.custom-search-modal {
  max-width: 90%;
  margin: 0 auto;
}

.upload-btn {
  border: 1px solid #2a2076;
  color: #2a2076;
  width: 50%;
}

.caret-icon {
  transition: transform 0.3s ease;
}

/* When collapsed = arrow pointing down (default) */
.show-more-toggle.collapsed .caret-icon {
  transform: rotate(0deg);
}

/* When expanded = rotate arrow 180 degrees */
.show-more-toggle:not(.collapsed) .caret-icon {
  transform: rotate(180deg);
}

#robotCheck:checked {
  background-color: #003366;
  border-color: #003366;
}

.navbar-nav .nav-item {
  cursor: pointer;
}

/* ====Profile slide-in-panel====== */
/* LEFT SLIDING MODAL BASE */
/* ================================

/* Remove Bootstrap padding only for this modal */
.left-slide-modal.modal {
  padding: 0 !important;
}

/* Dialog behaves like a sidebar */
.left-slide-modal .modal-dialog {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  margin: 0;
  width: 40%;
  max-width: none;
  transform: translateX(-100%); /* hidden left */
  transition: transform 0.35s ease !important;
}

/* Content styling */
.left-slide-modal .modal-content {
  height: 100%;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

/* SHOW — slide into view */
.left-slide-modal.show .modal-dialog {
  transform: translateX(0) !important;
}

/* Remove Bootstrap’s default vertical animation */
.left-slide-modal.modal.fade .modal-dialog {
  transform: translateX(-100%);
}

/* Correct backdrop override */
.left-slide-modal.modal.fade.show + .modal-backdrop {
  opacity: 0.4 !important;
}

/*==== Profiel modal scroll==== */
/* Make only THIS modal scrollable internally */
.left-slide-modal .modal-dialog {
  overflow: hidden !important; /* prevent double scroll */
}

.left-slide-modal .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

/* Ensure the menu section takes remaining height and scrolls */
.left-slide-modal .modal-body,
.left-slide-modal .menu-wrapper {
  flex: 1 1 auto;
  overflow-y: auto !important;
}

/* ===== RIGHT SLIDE MODAL ===== */

.right-slide-modal.modal {
  padding: 0 !important;
}

/* Dialog behaves like a sidebar on the right */
.right-slide-modal .modal-dialog {
  position: fixed;
  top: 0;
  right: 0; /* 👈 stick to right */
  height: 100%;
  margin: 0;
  width: 40%;
  max-width: none;

  /* hidden off-screen to the right */
  transform: translateX(100%);
  transition: transform 0.35s ease !important;
}

/* Content styling */
.right-slide-modal .modal-content {
  height: 100%;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

/* SHOW — slide from right to left */
.right-slide-modal.show .modal-dialog {
  transform: translateX(0) !important;
}

/* Remove Bootstrap’s default vertical animation */
.right-slide-modal.modal.fade .modal-dialog {
  transform: translateX(100%);
}

/* Backdrop opacity */
.right-slide-modal.modal.fade.show + .modal-backdrop {
  opacity: 0.4 !important;
}

/* Internal scrolling */
.right-slide-modal .modal-dialog {
  overflow: hidden !important;
}

.right-slide-modal .modal-content {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.modal .profile-container {
  max-width: none;
  margin: 0;
}

/* Hide scrollbar but allow scroll */
.hide-scrollbar {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.notification-badge {
  position: absolute;
  top: 8px;
  right: 3px;
  background-color: #dc3545; /* Bootstrap danger */
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  padding: 0 4px;
}

#privacyModal .modal-dialog,
#disclaimerModal .modal-dialog {
  margin: 2rem auto;
}

.menu-icon {
  cursor: pointer;
}

.menu-header {
  background: linear-gradient(
    90deg,
    var(--primary-pink) 0%,
    var(--primary-purple) 100%
  );
  display: flex;
  max-height: 55px;
  min-height: 55px;
}

.menu-accordion .accordion-button {
  background: transparent;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  padding: 14px 20px;
  font-weight: 500;
}

.menu-accordion .accordion-button::after {
  background-size: 14px;
}

.menu-accordion .accordion-button:not(.collapsed) {
  color: #000;
  background: #f8f9fa;
}

.menu-link {
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
  margin-bottom: 6px;
  border-radius: 6px;
}

.menu-link > a {
  font-weight: 500;
  display: block;
  padding: 14px 20px;
  color: #2a2076;
  text-decoration: none;
}

.menu-btn {
  color: #2a2076;
}

.menu-link > a:focus,
.submenu-link:focus {
  background-color: #f8f9fa;
  outline: none;
}

.menu-link a:hover,
.submenu-link:hover {
  background-color: #f8f9fa;
}

.submenu-link {
  font-weight: 500;
  display: block;
  padding: 12px 40px;
  font-size: 14px;
  color: #2a2076;
  text-decoration: none;
}

/* @media screen and (min-width: 476px) and (max-width: 800px) {
  .content {
    max-width: 100%;
  }
} */

@media screen and (min-width: 600px) {
  .desktop-nav-box {
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
  }

  .navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .navbar-nav {
    flex-direction: row !important;
  }

  .navbox {
    margin-inline: 55px;
  }

  .body {
    padding-bottom: 40px;
  }

  .mobile-container {
    max-width: 1024px;
    margin: auto;
    min-height: auto;
    padding: 10px;
    width: 100%;
  }

  .page-container {
    max-width: 1024px;
    margin: auto;
    background: #efefef;
  }

  .view-box {
    margin-top: 42px;
  }

  body .mobile-container .custom-pills .index-head-link {
    font-size: 16px;
  }

  .bio-metric {
    display: none;
  }

  .tab-nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tab-content {
    width: 100%;
  }

  .mobile-input-container {
    width: 100%;
  }

  .captcha {
    width: 100%;
  }

  .container-head {
    text-align: center !important;
  }

  .date-box {
    width: 100%;
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 20px;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.5);
    padding: 30px !important;
    background-color: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

  .blue-btn {
    width: 100%;
    max-width: 600px;
    margin: auto;
  }

  .cta-btn {
    width: 50%;
  }

  .cta-btn-otp {
    width: 100%;
  }

  .timer {
    width: 100% !important;
    margin: auto;
  }

  .home-container {
    max-width: 600px;
    width: 100%;
    margin: auto;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.5);
    padding: 20px !important;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

  .desktop-box {
    /* margin-top: 120px; */
    margin-top: 95px;
    min-height: calc(100vh - 95px);
    overflow: hidden;
  }

  .home-icon-container {
    cursor: pointer;
  }

  .home-container .home-section {
    gap: 45px !important;
  }

  body .bottom-nav {
    display: none !important;
  }

  body .header {
    display: none !important;
  }

  #navbarContent a:focus {
    outline: none;
  }

  .active-nav {
    color: #2a2076 !important;
    border: 1px solid #e9e7f8;
    background-color: #e9e7f8;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

  .modal-dialog-bottom {
    position: relative;
    margin: auto;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 0;
    animation: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-dialog-bottom .modal-content {
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
  }

  .modal .container {
    margin-top: 30px;
  }

  #otpModal .modal-dialog-centered {
    min-height: calc(100% - 1rem);
  }

  .tabs-scroll-wrapper {
    margin-top: 0px;
    background-color: #fff;
    margin-bottom: 20px;
  }

  .container-border {
    border: none;
  }

  .date-item {
    padding-inline: 40px;
  }

  .mobile-input-container {
    padding: 0.65rem !important;
  }

  #idType {
    padding: 0px 10px;
  }

  .tele-input {
    /* padding: 5px 7px !important; */
    padding: 0.55rem !important;
  }

  /* #searchModal .modal-dialog {
    position: fixed;
    top: 0px;
    right: 0px;
    margin: auto;
    width: 350px;
    transform: none !important;
  } */

  #searchModal .modal-dialog {
    max-width: 90%;
    width: 450px;
  }

  #searchModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  /* Prevent dark background overlay on desktop */
  #searchModal.modal {
    background: transparent !important;
    pointer-events: none;
  }
  #searchModal .modal-dialog,
  #searchModal .modal-content {
    pointer-events: auto;
  }

  .upload-btn {
    border: 1px solid #2a2076;
    color: #2a2076;
    width: 30%;
  }

  .custom-pills .nav-item:only-child .nav-link {
    width: 280px;
  }

  .custom-pills .nav-item:first-child:nth-last-child(2) .custom-tab,
  .custom-pills .nav-item:nth-child(2):last-child .custom-tab {
    width: 280px;
  }

  .custom-pills:has(.nav-item:nth-child(2):last-child) .nav-item {
    flex: 0 1 auto;
  }

  #feedbackModal .modal-dialog {
    max-width: 600px;
    margin: 0 auto;
  }

  #thankyouModal .modal-dialog {
    max-width: 400px;
    margin: 0 auto;
  }

  #privacyModal .modal-dialog,
  #disclaimerModal .modal-dialog {
    max-width: 600px;
    margin: 2rem auto;
  }

  #contactModal .modal-dialog {
    max-width: 600px;
    margin: 0rem auto;
  }
}

@media screen and (min-width: 600px) and (max-width: 996px) {
  .navbox {
    margin-inline: 0px !important;
  }

  .desktop-box {
    margin-top: 95px;
  }

  #idType {
    padding: 0px 7px;
  }

  .custom-pills .nav-item:only-child .nav-link {
    max-width: 280px;
  }

  .custom-pills .nav-item:first-child:nth-last-child(2) .custom-tab,
  .custom-pills .nav-item:nth-child(2):last-child .custom-tab {
    width: 280px;
  }

  .custom-pills:has(.nav-item:nth-child(2):last-child) .nav-item {
    flex: 0 1 auto;
  }

  .left-slide-modal .modal-dialog {
    width: 100%;
  }
}

@media screen and (max-width: 599px) {
  .desktop-nav-box {
    display: none;
  }

  .navbar {
    display: none;
  }

  .home-container .home-section {
    gap: 40px !important;
  }

  #idType {
    padding: 0px 7px;
  }

  .custom-pills .nav-item:only-child .nav-link {
    max-width: 150px;
  }

  .custom-pills .nav-item:first-child:nth-last-child(2) .custom-tab,
  .custom-pills .nav-item:nth-child(2):last-child .custom-tab {
    width: 150px;
  }

  .custom-pills:has(.nav-item:nth-child(2):last-child) .nav-item {
    flex: 0 1 auto;
  }

  .left-slide-modal .modal-dialog {
    width: 100% !important;
  }

  .right-slide-modal .modal-dialog {
    width: 100%;
  }

  .menu-icon {
    width: 30px;
  }
}

@media screen and (max-width: 476px) {
  #getOTP .modal-dialog-centered {
    min-height: calc(100dvh - 60dvh);
    margin-top: 40px;
  }

  #getOTP .modal-dialog-bottom {
    max-height: 40dvh;
    height: 60vh;
  }
  .home-container .home-section {
    gap: calc((100vw - 320px) / 3) !important;
  }

  .mobile-container .custom-pills {
    margin-bottom: 0.5rem !important;
  }
}
/* Bigger screen blocked */
/* @media screen and (min-width: 481px) {
  body {
    background-color: white !important;
    color: transparent !important;
  }

  * {
    display: none !important;
  }
} */
