.Reset_Password_Modal {
  --gold: #bd9138;
  --gold-light: #d8b76a;
  --gold-dark: #9b7029;
  --cream: #fffaf0;
  --brown: #241b12;
  --brown-light: #5b4630;
  --border: #e8dcc8;
}

.Reset_Password_Modal .modal-dialog {
  max-width: 440px;
  margin: 1.75rem auto;
}

.Reset_Password_Modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(189, 145, 56, 0.3);
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 25px 70px rgba(36, 27, 18, 0.25),
    0 8px 25px rgba(189, 145, 56, 0.12);
}

.Reset_Password_Modal .modal-content::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: -125px;
  right: -90px;
  border-radius: 50%;
  background: rgba(189, 145, 56, 0.1);
  pointer-events: none;
}

.Reset_Password_Modal .modal-content::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  bottom: -115px;
  left: -80px;
  border-radius: 50%;
  background: rgba(216, 183, 106, 0.08);
  pointer-events: none;
}

.Reset_Password_Modal .modal-body {
  position: relative;
  z-index: 2;
  padding: 27px 34px 30px;
  background:
    radial-gradient(
      circle at top right,
      rgba(216, 183, 106, 0.09),
      transparent 30%
    ),
    #ffffff;
}

.Reset_Password_Modal .reset_brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.Reset_Password_Modal .reset_brand_logo {
  width: 140px;
  height: 58px;
  object-fit: contain;
}

.Reset_Password_Modal .reset_brand_line {
  width: 48px;
  height: 3px;
  margin-top: 8px;
  border-radius: 20px;
  background: linear-gradient(90deg, #9b7029, #bd9138, #d8b76a);
}

.Reset_Password_Modal .close_img_div {
  position: absolute;
  top: 16px;
  right: 17px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(189, 145, 56, 0.2);
  border-radius: 50%;
  background: #f8f3e9;
  color: #8f7958;
  cursor: pointer;
  transition: all 0.3s ease;
}

.Reset_Password_Modal .close_img_div:hover {
  background: var(--gold);
  color: #ffffff;
  transform: rotate(90deg);
  box-shadow: 0 6px 15px rgba(189, 145, 56, 0.25);
}

.Reset_Password_Modal .close_img {
  font-size: 13px;
}

.Reset_Password_Modal .reset_title_div {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
  text-align: center;
}

.Reset_Password_Modal .reset_title_div .title {
  margin: 0;
  color: var(--brown);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.Reset_Password_Modal .reset_title_div .sub_text {
  max-width: 330px;
  margin: 7px auto 0;
  color: #8f7958;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.Reset_Password_Modal .reset_pass_div {
  position: relative;
  z-index: 2;
}

.Reset_Password_Modal .gray_input_group {
  margin-bottom: 5px;
}

.Reset_Password_Modal .gray_input_group .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 600;
}

.Reset_Password_Modal .gray_input_group .form-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  background: #fffdf9 !important;
  color: var(--brown) !important;
  font-size: 14px;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.Reset_Password_Modal .gray_input_group .form-control:hover {
  border-color: rgba(189, 145, 56, 0.55) !important;
  background: #ffffff !important;
}

.Reset_Password_Modal .gray_input_group .form-control:focus {
  border-color: var(--gold) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(189, 145, 56, 0.12) !important;
}

.Reset_Password_Modal .gray_input_group .form-control::placeholder {
  color: #a99c8a !important;
  font-size: 13px;
}

.Reset_Password_Modal .text-danger {
  display: block;
  margin-top: 6px;
  color: #dc3545 !important;
  font-size: 11px;
  font-weight: 500;
}

.Reset_Password_Modal .btns_holder {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}

.Reset_Password_Modal .btns_holder .Black_btn_holder .Black_Btn,
.Reset_Password_Modal .btns_holder .Gray_Btn_holder .Gray_Btn {
  width: 170px;
  min-height: 41px;
  margin: 0;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.Reset_Password_Modal .btns_holder .Black_btn_holder .Black_Btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(36, 27, 18, 0.18);
}

.Reset_Password_Modal .btns_holder .Gray_Btn_holder .Gray_Btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.Reset_Password_Modal .loader_holder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  min-height: 46px;
}

.Reset_Password_Modal .otp_main_div {
  z-index: 2;
}

.Reset_Password_Modal .otp_title {
  margin-bottom: 25px;
}

.Reset_Password_Modal .otp_inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.Reset_Password_Modal .Otp-field-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.Reset_Password_Modal .Otp-field-holder .otp-field {
  width: 52px;
  height: 54px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  background: #fffdf9 !important;
  color: var(--brown) !important;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.Reset_Password_Modal .Otp-field-holder .otp-field:hover {
  border-color: rgba(189, 145, 56, 0.55) !important;
}

.Reset_Password_Modal .Otp-field-holder .otp-field:focus {
  border-color: var(--gold) !important;
  background: #ffffff !important;
  color: var(--brown) !important;
  box-shadow: 0 0 0 3px rgba(189, 145, 56, 0.12) !important;
}

.Reset_Password_Modal .otp_error {
  margin-top: 10px;
  text-align: center;
}

.Reset_Password_Modal .resend_holder {
  min-height: 25px;
  margin-top: 17px;
  text-align: center;
}

.Reset_Password_Modal .resend_timer {
  margin: 0;
  color: #8f7958;
  font-size: 12px;
  font-weight: 500;
}

.Reset_Password_Modal .resend_timer span {
  color: var(--gold-dark);
  font-weight: 700;
}

.Reset_Password_Modal .link_text {
  margin: 0;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.Reset_Password_Modal .link_text:hover {
  color: var(--gold);
  text-decoration: underline;
}

.Reset_Password_Modal .otp_btn_holder {
  margin-top: 17px;
}

.Reset_Password_Modal .otp_btn_holder .Black_btn_holder .Black_Btn {
  width: 100%;
}

.Reset_Password_Modal .Otp-field-holder input::-webkit-outer-spin-button,
.Reset_Password_Modal .Otp-field-holder input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.Reset_Password_Modal .Otp-field-holder input[type="number"] {
  -moz-appearance: textfield;
}

@media (min-width: 0px) and (max-width: 575px) {
  .Reset_Password_Modal .modal-dialog {
    width: calc(100% - 24px);
    max-width: 420px;
    margin: 12px auto;
  }

  .Reset_Password_Modal .modal-body {
    padding: 22px 21px 25px;
  }

  .Reset_Password_Modal .reset_brand {
    margin-bottom: 18px;
  }

  .Reset_Password_Modal .reset_brand_logo {
    width: 125px;
    height: 52px;
  }

  .Reset_Password_Modal .reset_brand_line {
    width: 43px;
    height: 2px;
    margin-top: 7px;
  }

  .Reset_Password_Modal .close_img_div {
    top: 12px;
    right: 12px;
    width: 29px;
    height: 29px;
  }

  .Reset_Password_Modal .close_img {
    font-size: 12px;
  }

  .Reset_Password_Modal .reset_title_div {
    margin-bottom: 19px;
  }

  .Reset_Password_Modal .reset_title_div .title {
    font-size: 20px;
  }

  .Reset_Password_Modal .reset_title_div .sub_text {
    font-size: 11px;
  }

  .Reset_Password_Modal .gray_input_group .form-label {
    font-size: 12px;
  }

  .Reset_Password_Modal .gray_input_group .form-control {
    height: 46px;
    font-size: 13px;
  }

  .Reset_Password_Modal .gray_input_group .form-control::placeholder {
    font-size: 12px;
  }

  .Reset_Password_Modal .btns_holder {
    gap: 8px;
    margin-top: 22px;
  }

  .Reset_Password_Modal .btns_holder .Black_btn_holder .Black_Btn,
  .Reset_Password_Modal .btns_holder .Gray_Btn_holder .Gray_Btn {
    width: 125px;
    min-height: 43px;
    font-size: 12px;
  }

  .Reset_Password_Modal .otp_inputs {
    gap: 8px;
  }

  .Reset_Password_Modal .Otp-field-holder .otp-field {
    width: 48px;
    height: 50px;
    font-size: 18px;
  }

  .Reset_Password_Modal .resend_holder {
    margin-top: 15px;
  }

  .Reset_Password_Modal .otp_btn_holder {
    margin-top: 15px;
  }
}
