.header_container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 12px 15px 20px;
}

.main_container {
  justify-content: flex-start;
  align-items: start;
}

.Login_container {
  margin-top: 29%;
  width: 100%;
}

.footer_container {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
}

.footer_text,
.info {
  color: var(--N-400, #8b8b8b);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}

.info {
  color: #232024;
  font-weight: 600;
}

.verify_otp,
.modal_success {
  display: none;
}

.phone_container {
  display: flex;
  flex-direction: row;
}
.wrapper_title,
.wrapper_otp_title {
  color: #2d2308;
  font-family: Inter;
  font-size: 27px;
  font-style: normal;
  font-weight: 800;
  line-height: 30px /* 125% */;
  display: inline-block;
  margin-top: 7px;
  margin-bottom: 32px;
}

.wrapper_otp_title {
  margin-bottom: 2px;
}

.phone-input {
  width: calc(100% - 80px);
  height: 58px;
  padding: 18px;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 64px;
  border: 4px solid var(--N-100-Outline, #e4e4e4);
  color: #2d2308;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  line-height: 18px; /* 90% */
  background-color: #fff;
  cursor: default !important;
}

.success_alert,
.issue_alert {
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 93.5%;
  max-width: 390px;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  background: #3bb87a;
  color: #fff;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  display: none;
}

.issue_alert {
  background: #FFF4E5;;
  color: #EF7B2B;
  bottom: 13%;
  bottom: 13%;
}
.code-input {
  width: 70px;
  height: 58px;
  border-radius: 90px;
  padding: 13px;
  color: #2d2308;
  border: 4px solid #2d2308;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px; /* 100% */
  letter-spacing: -0.408px;
  margin-right: 10px;
  cursor: default !important;
}

/* ------------------------------------------------------------------
   Country code dropdown — styled to match the original .code-input
   so the overall phone_container layout is unchanged.
   ------------------------------------------------------------------ */
.country-dropdown {
  position: relative;
  flex-shrink: 0;
  margin-right: 10px;
}

/* Dropdown trigger button — same visual as the old disabled input */
.country-dropdown-btn {
  width: 76px;
  height: 58px;
  border-radius: 90px;
  padding: 13px 10px;
  color: #2d2308;
  border: 4px solid #2d2308;
  background: #fff;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
  letter-spacing: -0.408px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
  overflow: hidden;
}

.dropdown-chevron {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.country-dropdown-btn:focus {
  outline: none;
}

/* Scrollable country list — hidden by default, shown when .open is added */
.country-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 100;
  background: #fff;
  border: 2px solid #e4e4e4;
  border-radius: 16px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 220px;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.country-dropdown-list.open {
  display: block;
}

/* Individual country row */
.country-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  color: #2d2308;
  border-radius: 8px;
  margin: 0 4px;
}

.country-dropdown-item:hover {
  background: #f5f0ff;
}

/* Country name part — takes remaining space */
.country-dropdown-item .country-name {
  flex: 1;
}

/* Dial code shown right-aligned, muted colour */
.country-dropdown-item .country-dial {
  color: #8b8b8b;
  font-weight: 700;
  white-space: nowrap;
}
.welcome_text {
  color: var(--N-400, #8b8b8b);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px;
  /* 100% */
}

.login_title {
  color: #2d2308;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  /* 100% */
  text-transform: uppercase;
}

.save-button {
  margin-top: 15px;
  background-color:#9560F1;
  width: 99.5%;
  padding: 18px 24px;
  border-radius: 48px;
  color: #FFF;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  outline: none;
  border: none;
  cursor: pointer;
  /* 100% */
}

input[type="button"]:hover,
input[type="button"]:active,
input[type="button"]:focus,
input[type="button"]:focus-visible {
  outline: none !important;
  border: none !important;
}

input:focus,
input:focus-visible,
.verify-btn:focus,
.verify-btn:focus-visible {
  outline: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

.login_success {
  display: none;
}

.otp-container {
  text-align: left;
}

h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.Edit_info {
  color: #2c79f7;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px; /* 100% */
  margin-top: 12px;
  margin-bottom: 30px;
  display: inline-block;
  cursor: pointer;
}

.resend_otp {
  color: var(--N-400, #8b8b8b);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 12px; /* 100% */
  letter-spacing: 0.12px;
  margin-top: 12px;
  display: inline-block;
  cursor: pointer;
}

.otp-inputs {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.otp-input {
  display: flex;
  width: 60px;
  height: 60px;
  padding: 21px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border-radius: 99px;
  border: 2px solid #e4e4e4;
  color: #2d2308;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px; /* 100% */
  letter-spacing: -0.408px;
  text-align: center;
  cursor: default !important;
}

.otp-input:focus {
  border-color: #2D2308;
  border: 2px solid #2D2308;
}

.verify-btn {
  width: 80%;
  height: 52px;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 48px;
  background: var(--P-400, #9560F1);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: #FFF;
  border: none;
  cursor: pointer;
}

.button_wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.back_button {
  width: 280px;
  height: 52px;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  border: none;
  width: 58px;
  height: 52px;
  padding: 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 48px;
  border: 1px solid #000;
  margin-right: 12px;
  cursor: pointer;
}

.verify-btn:disabled {
  border-radius: 48px;
  background: var(--N-BG, #f2f2f2);
  border: none;
  cursor: not-allowed;
  color: var(--N-200-Button, #d0d0d0);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.resend_link {
  color: #2c79f7;
}

.verify-btn:not(:disabled):hover {
  background: var(--P-400, #9560F1);
}

/* Modal overlay with background blur */

.main_modal_container {
  display: flex;
  background-color: #fff;
  width: 100%;
  min-width: 310px;
  padding: 18px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.13);
}
.modalsuccesses {
  display: flex;
  justify-content: center;
  align-items: center;
}
.success_img {
  margin-top: 20px;
  margin-bottom: 15px;
  width: 98px;
  height: 98px;
}

.success_text {
  color: #000;
  text-align: center;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px; /* 130% */
  letter-spacing: -0.408px;
  margin-bottom: 23px;
}

.got_btn , .continue_btn{
  display: flex;
  height: 52px;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 48px;
  background: var(--P-400, #9560F1);
  color: #FFF;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px; /* 100% */
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
}

/* Modal style */
.modal {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 300px;
  box-sizing: border-box;
}

/* Button styling */
#got-it-btn {
  padding: 10px 20px;
  margin-top: 15px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.new_sub{
  color: #3BB87A;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 100% */
}

#got-it-btn:hover {
  background-color: #45a049;
}

.web_view{
  display: none
}

@media (min-width: 1120px) and (max-width: 1320px){
  .success_alert, .issue_alert {
    bottom: 14%;
  }
}
/* Media Query for Mobile Devices */
@media (min-width: 551px) {
  .web_view{
    display: none
  }
  .header_container{
    padding:15px 30px
  }

  .footer_container{
    text-align: center;
    border-top: 1px solid #E4E4E4;
    padding:5px;
  }

  .new_sub{
    font-size: 16px;
  }

  .Login_container {
    margin:auto;
    width: 100%;
    max-width: 550px;
  }

  .main_container{
    margin-top:0px;
  }

  .save-button , .verify-btn {
    width: 210px;
  }

  .got_btn, .continue_btn{
    width:210px;
    margin:0px auto;
  }

  .success_img{
    width: 165px;
    height: 165px;
  }

  .success_text{
    font-size: 28px;
    line-height: 30px;
  }

  .modal_success{
    margin-top:-50px
  }

  .welcome_text{
    font-size: 16px;
  }

  .wrapper_title , .wrapper_otp_title{
    font-size: 32px;
    line-height: 34px;

  }
  .main_modal_container{
    box-shadow: none;
  }

  .phone-input{
    max-width: 340px;
    font-size: 22px;
    line-height: 22px;
  }

  .welcome_text , .otp-container{
    margin-top: -50px
  }
}

/* Media Query for Mobile Devices */
@media (max-width: 551px) {
  .main_modal_container {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .success_alert {
    bottom: 21.5%;
  }
  .issue_alert {
    bottom: 15%;
  }

  .main_modal_container {
    min-width: 280px;
  }
}

@media (max-width: 350px) {
  .success_alert {
    bottom: 18%;
  }
  .issue_alert {
    bottom:20px;
  }

}
