/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

/* Header Styles */
.header {
  background-color: #ffffff;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
  padding: 16px 28px;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  @media (max-width:767px) {
      gap: 8px;
  }
}

.container {
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo img {
  height: 100%;
  max-height: 25px;
}

.header-announcement__inner {
  display: flex;
  align-items: end;
  gap: 12px;
  line-height: 1.2;
  padding-block: 10px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

/* Logos (SVGs) */
.header-brand__logo {
  display: inline-block;
  height: 12px;
  width: auto;
  vertical-align: middle;
}

/* Transition text */
.header-brand__transition {
  color: rgba(112, 112, 112, 1);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* Divider */
.header-announcement__divider {
  width: 1px;
  height: 15px;
  background: #bfbfbf;
  display: inline-block;
}

/* Note */
.header-announcement__note {
  color: rgba(112, 112, 112, 1);
  font-size: 12px;
  font-weight: 400;
}

/* Optional: shrink note and hide divider on very small screens */
@media (max-width: 768px) {
	
	.header {
    	padding: 16px 18px;
  	}	
  
  	.header-announcement__inner {
  		flex-wrap: wrap;
  		justify-content: flex-end;
  		align-items: center;
  		padding:0;
    	padding-left: 0;
  		/* padding-inline:  0 16px; */
	}
	
  	.header-announcement__note { 
  		font-size: 10px; 
  		text-align: end;
  	}
  	
  	.header-brand__transition {
  		font-size: 10px;
	}
	
	.header-brand__logo {
  		height: 10px;
	}
}

@media (max-width: 550px) {
  
  	.header-announcement__inner {
  		flex-direction: column;
    	align-items: end;
    	gap: 0px;
    	/* padding-left: 24px; */
  	}

  	.header-announcement__divider {
    	display: none;
  	}
}

.header__info {
  display: none;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.mobile__header__info {
  display: flex;
  gap: 5px;
}

.header__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-info-sections {
  font-size: 12px;
  font-weight: 400;
  color: #9a9a9a;
}

.header-info-data {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
}

.header__language-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  background: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  /* width: 80%; */
  max-width: 284px;
  /* height: 100vh; */
  background-color: #fff;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 20px 16px;
  overflow-y: auto;
}

.side-menu.open {
  right: 0;
}

.side-menu__top {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 20px 19px 20px 0px;
  border-bottom: 1px solid #000000;
}

.side-menu__bottom {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 19px 10px 0px;
  border-bottom: 1px solid #d9d9d9;
}

.side-menu__bottom_last {
  border: none;
}

/* Login Fail Modal */
.login-failed-container {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 325px;
  z-index: 1001;
  overflow-y: auto;
  overflow: visible;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 17px;
}

.login-failed-container.open {
  opacity: 1;
  pointer-events: auto;
}

.login-failed-close-icon {
  position: absolute;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #e5e5e5;
  padding: 2px;
  right: 6px;
  top: 6px;
  cursor: pointer;
  z-index: 1002;
}

.error-icon {
  height: 59px;
  width: 59px;
}

.error-msg-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.error-msg {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #000000;
}

.login-failed-ok-btn {
  background: #6e368d;
  color: #f5f5f5;
  padding: 9px 13px;
  border: 1px solid #000000;
  border-radius: 5px;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Main Content Styles */
.main {
  background-image: url("../Assets/Images/Homepage_bg_image.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.main__container {
  display: grid;
  grid-template-columns: 1fr;
  /* align-items: center; */
  direction: ltr;
}

/* Login Form Styles */
.login-form {
  padding: 53px 40px;
  @media (max-width: 767px){
      padding: 30px 16px;
  }
}

.login-form-container {
  background: linear-gradient(
    152.73deg,
    rgba(255, 255, 255, 0.15) 17.01%,
    rgba(255, 255, 255, 0.3) 89.53%
  );
  border: 1px solid #ffffff;
  border-left: none;
  border-radius: 26px;
  padding: 23px;
  @media (max-width:768px) {
    padding: 12px;
    
  }
}

.form-items {
  direction: ltr;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  padding: 25px;
  border-radius: 20px;
  background: #ffffff;
}

.form-div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-form__input-wrapper {
  position: relative;
}

.login-form__input {
  width: 100%;
  padding: 10px;
  border: 1px solid #c5c5c5;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #9a9a9a;
  transition: border-color 0.3s ease;
}

.login-form__input:focus {
  outline: none;
  color: #232323;
  border: 1px solid #3092cf;
}

.login-form__label {
  position: absolute;
  left: 8px;
  top: 12px;
  font-size: 10px;
  font-weight: 500;
  color: #9a9a9a;
  background-color: white;
  padding: 0 4px;
  transition: all 0.2s ease;
  pointer-events: none;
  display: none;
}

/* When input has value or is focused */
.login-form__input:focus + .login-form__label,
.login-form__input:not(:placeholder-shown) + .login-form__label {
  display: block;
  color: #3092cf;
  top: -8px;
  left: 10px;
}

.login-form__input--error {
  color: red;
}

h1 {
  color: #232323;
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 8px;
  line-height: 1.1;
}

.instruction-text {
  color: #000000;
  font-size: 12px;
  line-height: 1.5;
  /* margin-bottom: 14px; */
  font-weight: 400;
}

.captcha-container {
   display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
}

.captcha-image {
   align-items: center;        
   justify-content: center;    
   padding: 10px 40px;
   font-size: 16px;
   width: 180px;
   height: 40px;
   border: none;
}

.refresh-btn {
  background: none;
  border: none;
  color: #52AD33;
  font-size: 10px;
  font-weight: 400;
  cursor: pointer;
}

.captcha-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #3092CF;
  border-radius: 6px;
  background: #FFFFFF;
  /* margin-bottom: 36px; */
}

.captcha-input::placeholder {
  color: #949494;
  font-size: 14px;
}

/* .otp-section {
  margin-bottom: 40px;
} */

.otp-title {
  color: #232323;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.otp-inputs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  justify-content: space-between;
}

.otp-box {
  width: 36px;
  height: 40px;
  border: none;
  border-radius: 6px;
  background: #ECECEC;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #000000;
  outline: none;
  transition: all 0.2s ease;
}

.otp-instruction {
  color: #000000;
  width: 100%;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  /* margin-bottom: 52px; */
}

.login-form__resend_otp {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}

.resend_otp_text {
  color: #52AD33;
  text-decoration: none;
}

.resend_otp_text.disabled {
  pointer-events: none;
  color: #999;
  cursor: default;
}

.resend_otp__divider {
  color: #6c6c6c;
  margin-inline: 12px;
}

.resend_otp_timer {
  font-weight: 600;
  color: #000000;
  text-decoration: none;
}

/* ===== OTP Popup ===== */
.otp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex; /* toggle to flex when opening */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  margin-inline: auto;
}

/* Card */
.otp-popup {
  position: relative;
  width: 95%;
  max-width: 450px;
  background: #ffffff;
  border-radius: 11px;
  padding: 22px;
  margin: auto;
}

/* Close button (top-right) */
.otp-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background: rgba(229, 229, 229, 1);
  cursor: pointer;
  border-style: none;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otp-popup-close-icon {
  width: 10px;
  height: 10px;
  pointer-events: none;
}

/* Icon circle */
.otp-popup-icon {
  width: 58px;
  height: 58px;
  margin: 6px auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 1); /* near-black */
  color: rgba(255, 255, 255, 1);
}

.otp-question-icon {
  width: 22px;
  height: 44px;
  object-fit: contain;
  /* If you don’t have an image, you can comment the <img> and use text: `?` */
}

.otp-popup-title {
  margin: 16px 0 26px;
  text-align: center;
  font-size: 12px;
  line-height: 2;
  color: rgba(0, 0, 0, 1);
  font-weight: 600;
}

.otp-destinations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.otp-phone {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.otp-phone-field-label {
  font-size: 10px;
  font-weight: 500;
  line-height: 150%;
  color: rgba(0, 0, 0, 1);
}

.otp-phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  padding: 10px;
  border: 2px solid rgba(185, 185, 185, 1);
  border-radius: 6px;
  background: #fff;
   font-size: 12px;
  font-weight: 400;
  color: rgba(35, 35, 35, 1);
}

.otp-phone-input-wrap.is-active {
  border-color: rgba(66 228 10);
}

.otp-email-input-wrap.is-active {
  border-color: rgba(66 228 10);
}

.otp-phone-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  font-weight: 400;
  color: rgba(35, 35, 35, 1);
}

.otp-email {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.otp-email-field-label {
  font-size: 10px;
  font-weight: 500;
  line-height: 150%;
  color: rgba(0, 0, 0, 1);
}

.otp-email-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  padding: 10px;
  border: 2px solid rgba(185, 185, 185, 1);
  border-radius: 6px;
  background: #fff;
}

/* .otp-email-input-wrap.is-disabled {
  border-color: rgba(185, 185, 185, 1);
  cursor: not-allowed;
} */

.otp-email-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  font-weight: 400;
  color: rgba(35, 35, 35, 1);
}

.otp-send-btn {
  grid-column: 1 / -1;
  margin-top: 14px;
  width: 100%;
  min-height: 36px;
  border-radius: 6px;
  background: rgba(254, 205, 28, 1);
  color: #000000;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #000000;
  cursor: pointer;
  transition: transform 0.12s ease;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .otp-destinations {
    grid-template-columns: 1fr; /* stack instead of 2 columns */
    gap: 10px;
  }

  .otp-phone-input-wrap,
  .otp-email-input-wrap {
    height: 40px; /* slightly taller for better touch targets */
    padding: 12px;
  }

  .otp-send-btn {
    margin-top: 20px;
    font-size: 14px;
    min-height: 42px;
  }
}

.continue-btn {
  width: 100%;
  background: #52AD33;
  color: #FFFFFF;
  border: none;
  padding: 10px 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.become-agent-disti-btn {
  width: 100%;
  background: rgb(28 129 254);
  color: #FFFFFF;
  border: none;
  padding: 10px 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.login-form__submit {
  width: 100%;
  padding: 10px 5px;
  background-color: #52ad33;
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.banner-carousel {
  position: relative;
  
  /* Space for dots below */
  display: flex;
  /* align-items: center; */
  justify-content: center;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.carousel-container-wrapper{
  background: #ffffff;
  padding: 28px 25px 41px 25px;
  border-radius: 0px;
}

.carousel-container {
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.carousel-track {
  display: flex; /* Arrange slides side by side */
  width: 100%;
  /* height: 250px; */
  background: #f5f5f5;
  border-radius: 12px;
  transition: transform 0.5s ease-in-out; /* Smooth sliding */
}

.banner-link {
	position: relative;
	display: inline-block;
}

.banner-click-icon {
	position: absolute;
	bottom: 8px;
	right: 8px;
	font-size: 20px;
	display: none;
}

.banner-link:hover .banner-click-icon {
	display: inline;
}

.carousel-slide {
  flex: 0 0 100%; /* Each slide takes full width of container */
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dots positioned outside and below the white container */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  z-index: 10;
  /* Ensure dots are visible */
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background: #B4EDF8;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.dot.active {
  width: 32px;
  height: 6px;
  border-radius: 10px;
  background: #1B9FA3;
  position: relative;
  overflow: hidden;
}

/* Progress bar animation for active dot */
.dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  transform-origin: left;
  transform: scaleX(0);
  animation: var(--animate, none);
}


/* Animation for progress bar */
@keyframes fillBar {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* Hover effects for dots */
.dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

/* Footer Styles */
.footer {
  display: none;
  background-color: #000000;
  padding: 25px 106px;
}

.footer__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__section-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 17px;
}

.footer__list {
  list-style: none;
}

.footer__list-item {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.footer__social {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.footer__app-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.footer__copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
}

@media (min-width: 768px) {

  .header__logo img {
    height: 100%;
    max-height: 45px;
  }

  .header__info {
    display: flex;
  }

  .mobile__header__info {
    display: none;
  }

  .main {
    padding-block: 55px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main__container {
    grid-template-columns: 2fr 1fr;
    max-width: 951px;
  }
  
  .banner-carousel  {
    order: 1;
    border-radius: 20px;
  }

.carousel-container-wrapper{
  padding: 10px;
  border-radius: 20px;
}

.carousel-dots {
  bottom: -30px;
}
.dot {
 background: #FFFFFF;
}

.dot.active {
  background: #FF9F1A;
}
  .login-form {
    order: 2;
    padding: 0;
  }

  .login-form-container {
    padding: 26px 54px;
  }

  .login-failed-container {
    gap: 30px;
    max-width: 375px;
    border-radius: 12px;
    padding: 20px;
  }

  .login-failed-close-icon {
    height: 18px;
    width: 18px;
    padding: 3px;
    right: 7px;
    top: 7px;
  }

  .error-icon {
    height: 68px;
    width: 68px;
  }

  .error-msg-container {
    gap: 18px;
  }

  .error-msg {
    gap: 7px;
    font-size: 14px;
  }

  .login-failed-ok-btn {
    padding: 10px 15px;
    border-radius: 6px;
  }

  .form-items {
    width: 302px;
    height: 370px;
  }

  .footer {
    display: block;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.select-company-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #232323;
  margin-bottom: 6px;
}

.select-company{
  border: 1px solid #3092CF;
  padding: 7px 10px;
  border-radius: 6.41px;
  cursor: pointer;
}

.company-select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #3092CF;
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  outline: none;
  margin-bottom: 15px;
}

.company-select:focus {
  border-color: #1b7ab3;
}

.continue-btn-company {
  width: 100%;
  background: #FECD1C;
  color: #000000;
  border: 1px solid #000000;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.otp-overlay.is-open {
  display: flex;
}

.company-selected-view {
  display: none;
}

.otp-popup.show-selected-view .company-list-view {
  display: none;
}
.otp-popup.show-selected-view .company-selected-view {
  display: block;
}

.select-company-title {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.company-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 8px;
  cursor: pointer;
}

.company-row input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 8px;
  height: 8px;
  background-color: #D9D9D9;
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  cursor: pointer;
}

/* checked state */
.company-row input[type="radio"]:checked {
  background-color: #3092CF;
}


.selected-company-box {
  border: 1px solid #3092CF;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.continue-btn-company {
  width: 100%;
  background: #FFC600;
  color: black;
  border-radius: 6.15px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  border: 1px solid #000000;
}

.options-dropdown {
  max-height: 95px;
  overflow-y: auto;
  scrollbar-width: thin;
  display: none;
  margin-top: 8px;
}

.select-company.is-open .options-dropdown {
  display: block;
}

.alert-msg-red {
    color: red;
}

.alert-msg-green {
    color: green;
}

.alert-msg-text {
    font-size: 12px;
}