/* __________________________index__________________________________ */
.split-container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* Left Section */
.left-half {
  flex: 1;
  background: linear-gradient(135deg, #FFE1C4 0%, white 50%, #D2FFC8 100%);
   padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
}

.left-image {
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
}

/* Right Section */
.right-half {
  flex: 1;
  background-color: #fff;
  overflow-y: auto;
  padding: 2rem 1rem;
}

/* Contact Section */
.contact-container {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.contact-divider {
  height: 20px;
  width: 1px;
  background-color: #aaa;
}

.contact-icon {
  color: #15830A;
}

/* Social Buttons */
.social-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn img {
  width: 24px;
  height: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #15830A; /* green background */
  border-radius: 50%;
  transition: background-color 0.3s ease;
  }
  
  .social-btn:hover {
  background-color: #0f6607; /* darker green on hover */
  }

/* Responsive footer notes */
.form-footer-notes > div {
  font-size: 13px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .split-container {
      flex-direction: row !important;
      height: auto;
  }

  .left-half, .right-half {
      flex: none;
      width: 100%;
      padding: 1.5rem 1rem;
  }

  .contact-container {
      flex-direction: column;
      gap: 8px;
  }

  .form-footer-wrapper {
      flex-direction: column;
      text-align: center;
      gap: 0.75rem;
  }

  .form-footer-wrapper .text-end {
      text-align: center !important;
  }

  .navbar-brand img {
      max-width: 180px;
  }

  .welcome-text {
      font-size: 22px;
  }

  .subheading {
      font-size: 14px;
  }
  .logout-form {
    align-self: flex-end; /* pushes logout to right side */
  }
  .logout-form button {
    margin-top: -70px; /* adjust until perfect alignment */
  }
  .logout-verification-right {
    display: none !important;
  }
  .logout-verification-left {
    display: block !important;
  }
}

/* Desktop / Default View */
.welcome-text {
  font-family: 'Martel Sans', sans-serif;
  font-weight: 700;
  font-size: 33px;
  line-height: 1.1;
  margin-top: 3%;
  width: 100%;
  text-align: left;
}

.subheading {
  font-family: 'Martel Sans', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: black;
  max-width: 624px;
  margin-top: 2%;
  margin-bottom: 4%;
  text-align: left;
}

/* Tablet view */
@media (max-width: 991px) {
  .welcome-text {
    font-size: 28px;
    text-align: center;
    margin: 3% auto 1% auto;
  }

  .subheading {
    font-size: 20px;
    text-align: center;
    margin: 1% auto 3% auto;
  }
}

/* Mobile view */
@media (max-width: 480px) {
  .welcome-text {
    font-size: 24px;
    margin: 2% auto;
    text-align: center;
  }

  .subheading {
    font-size: 18px;
    margin: 0 auto 2% auto;
    text-align: center;
  }
}

.lg-footer {
  color: #5a5b5b;
  font-size: 12px;
  font-family: Martel Sans;
  font-weight: 600;
  word-wrap: break-word;
}

.otp-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #817E7C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-align: center;
  outline: none;
}

.otp-box:focus {
  border-color: #15830A;
  box-shadow: 0 0 0 1px #15830A;
}

.lead-form {
  max-width: 100%;
  max-width: 480px;
  margin-top: 10%;
}

.image-wrapper {
  display: flex;
  justify-content: center;
  padding: 0 2%;
  margin-top: -30%;
}

@media (max-width: 992px) {
  .image-wrapper {
    margin-top: -20%;
  }
}

@media (max-width: 768px) {
  .image-wrapper {
    margin-top: -12%;
  }
}

@media (max-width: 480px) {
  .image-wrapper {
    margin-top: -7%;
  }
}

.form-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 2%;
}

@media (max-width: 768px) {
  .form-image {
    margin-top: 0;
    margin-left: 0;
  }
}

.form-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.custom-input-group {
border: 2px solid #5a5b5b;
border-radius: 16px;
overflow: hidden;
display: flex; /* ensure input group acts like a flex container */
}

.custom-input-group .input-group-text,
.custom-input-group .form-control {
border: none !important;
border-radius: 0 !important;
box-shadow: none;
background-color: transparent;
color: #5a5b5b;
}

.country-code {
  background-color: white;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  border-right: none;
}

.mobile-input {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  border-left: none;
}

.custom-btn {
height: 48px;
font-family: 'Martel Sans', sans-serif;
font-weight: 600;
font-size: 18px;
border-radius: 16px;
box-shadow: none;
transition: background-color 0.3s ease, color 0.3s ease;
cursor: pointer;
}

.otp-input-wrapper {
display: flex;
justify-content: center;
gap: 1.2rem; /* Increased from 0.5rem to 1.2rem */
margin-bottom: 1rem;

padding: 0 3%;
max-width: 100%;
}
.separator-text {
display: flex;
align-items: center;
color: #5a5b5b;
font-weight: 600;
font-family: 'Martel Sans', sans-serif;
font-size: 16px;
gap: 10px;
}

.separator-text span {
position: relative;
z-index: 1;
padding: 0 12px;
background: white; /* same as your form background */
}

.separator-text::before,
.separator-text::after {
content: "";
flex-grow: 1;
height: 1.5px;
background-color: #5a5b5b;
opacity: 0.4;
}
/* ____________________________________________________________ */
/* ____________________________Registeration________________________________ */
.stepwizard-row.custom-steps {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
}

.stepwizard-step {
  text-align: center !important;
  flex: 1 1 120px !important;
  min-width: 100px !important;
}

.stepwizard-step .btn-circle {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  font-size: 20px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  background-color: transparent;
  color: #666;
  margin: auto;
}

/* Active step button */
.stepwizard-step .btn-primary {
  background-color: #15830A !important;
  border-color: #15830A !important;
  color: #fff !important;
}

.stepwizard-step .btn-circle:hover:not(:disabled):not(.btn-primary) {
  border-color: #888;
  color: #000;
}

.stepwizard-step .btn-circle:disabled {
  background-color: transparent !important;
  border-color: #ccc !important;
  color: #aaa !important;
  cursor: not-allowed;
}

.stepwizard-step p {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.2;
}

.stepwizard-step p strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.stepwizard {
  width: 100%;
  position: static;
}

.stepwizard-row:before {
  top: 5% !important;
  bottom: 0 !important;
  position: relative !important;
  content: " " !important;
  width: 100% !important;
  height: 1px !important;
  background-color: #ccc !important;
}

/* ============================= */
/*         MOBILE VIEW          */
/* ============================= */
@media (max-width: 768px) {
  .stepwizard-row.custom-steps {
    flex-direction: column;
    gap: 15px;
  }

  .stepwizard-step {
    flex: 1 1 100%;
    max-width: 100%;
    display: none!important; /* Hide all by default on mobile */
  }

  .stepwizard-step.active-step {
    display: block !important; /* Show only the active step */
  }

  .stepwizard-step .btn-circle {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .stepwizard-step p {
    font-size: 13px;
  }

  .stepwizard-row:before {
    display: none !important; /* Hide the connecting line in mobile */
  }
}

/* ____________________________Forms________________________________ */

form .form-control, form .form-select {
  /* border: 1px solid #ccc !important; */
  border-radius: 16px!important;
  border: 1px solid rgba(5, 5, 5, 0.50)!important;
}

form .form-label, form .form-check-label {
  color: var(--Text-Color, #050505);
  text-align: center;
  font-family: "Martel Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.form-footer {
  background: #FFF;
  box-shadow: 2px 0px 4px 0px rgba(0, 0, 0, 0.25);
  width: 100%; /* Instead of fixed 1728px */
  height: 60px;
  display: flex;
  align-items: center;  /* Vertically center the content */
  
  padding: 0 20px; /* Optional: spacing on left and right */
}

.form-footer p {
  color: var(--Text-Color, #050505);
  font-family: "Martel Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  margin: 0; /* Remove default margin */
}


/* For Profile details Radio Buttons*/
.form-header h3 {
  text-align: center;
  color: green;
  margin-bottom: -2%;
  font-family: "Martel Sans";
font-size: 27.65px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

/* Container PY-4 */
.py-4 { 
padding-top: 0rem !important;
padding-bottom: 0rem !important;
}

/* Hover Effect */
.custom-btn:hover {
  background-color: #757575 !important; /* Darker shade on hover */
  color: #ffffff !important;
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
}

/* Disable state (during form submission) */
.custom-btn.disabled,
.custom-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;   /* Prevent horizontal scroll */
  overflow-y: auto;     /* Allow vertical scroll only when needed */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.info-status-bar {
  font-size: 14px;
  flex-direction: row;
}

@media (max-width: 576px) {
  .info-status-bar {
    flex-direction: column;
    text-align: center;
  }

  .contact-info,
  .step-info {
    width: 100%;
  }
}

/* Default: Desktop View */
.full-view {
  display: block;
}

.mobile-footer {
  display: none;
}

/* On screens ≤ 768px (typical mobile breakpoint) */
@media (max-width: 768px) {
  .full-view {
      display: none;
  }

  .mobile-footer {
      display: block;
  }
}

/* Step 1 - after hidden step */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio-group .form-check {
  flex: 0 1 22%; /* 4 items per row on desktop */
  min-width: 150px;
}
.form-check-input:checked {
  background-color: #198754 !important;
  border-color: #198754 !important;
}
.btn-link {
  /* font-weight: 400; */
  color: #198754;
  /* text-decoration: underline; */
}

@media (max-width: 768px) {
  .radio-group .form-check {
      flex: 0 1 48%; /* 2 items per row on tablets */
  }
}

@media (max-width: 480px) {
  .radio-group .form-check {
      flex: 0 1 100%; /* Stack vertically on mobile */
  }
}

.form-check input[type="radio"] {
  margin-right: 5px;
}

/* Arrow Css */
/* Hide on small screens */
@media (max-width: 768px) {
  .navbar-brand-arrow {
    display: none !important;
  }
  .form-header{
    display: none;
  }
}

/* Show on medium screens and up (normal/desktop) */
@media (max-width: 576px) {
  .responsive-logo {
      max-width: 120px;
      height: auto;
  }
  .loader-div img {
      width: 40px;
  }
}
.dropdown-vector .btn {
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.4;
}
@media (max-width: 576px) {
  .dropdown-vector .btn {
      font-size: 14px;
      padding: 8px 10px;
  }

  .form-header{
    display: none;
  }
  
  .logout-form {
    align-self: flex-end; /* pushes logout to right side */
  }
  .logout-form button {
    margin-top: -70px; /* adjust until perfect alignment */
  }

}
#apformsubmit:active {
  transform: scale(0.97);
  /* background-color: #c82333; Darker red */
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
#verifyAPOtpBtn:active {
  transform: scale(0.97);
  /* background-color: #c82333; Darker red */
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}


/* Full-Screen Overlay Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 253, 253, 0.7); /* Semi-transparent dark background */
  display: flex; /* Use flexbox for centering */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  z-index: 9999; /* Make sure it's on top of all content */
  opacity: 1; /* Ensure the overlay is visible when active */
}

/* Blur the content when loader is visible */
body.blur-content {
  filter: blur(5px);
  pointer-events: none; /* Optional: Disables interaction with the blurred content */
}

/* Loader animation */
.loader img {
  animation: rotate-loader 2s infinite linear;
}

@keyframes rotate-loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

 /* Right side small payment summary table */
 .summary-box {
  width: 280px;
  float: right;
  margin-top: -10px;
}

.summary-box table {
  width: 100%;
  font-size: 13px;
}

.summary-box th,
.summary-box td {
  padding: 6px 8px !important;
}

.exchange-charges-table {
  width: 120%;
  font-size: small;
  /* font-family: auto; */
}
