/* Custom Authentication Styles */
.modal_show_cv {
  position: fixed;
  width: 100%;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  top: 0;
  left: 0;
}

.bg_overlay_cv {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100vh;
  z-index: 999999;
  cursor: pointer;
}

.modal_cv_inner {
  position: absolute;
  width: 90%;
  max-width: 480px;
  height: auto;
  z-index: 1000000;
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.close_cv {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
  z-index: 1000001;
  cursor: pointer;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.2s;
}

.close_cv:hover {
  color: #000;
}

.gallery_cv {
  overflow: auto !important;
  height: 100%;
  color: #333;
}

.gallery_cv * {
  font-size: 14px;
}

.login-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #000;
}

.gallery_cv input[type="text"],
.gallery_cv input[type="password"],
.gallery_cv input[type="email"],
.gallery_cv input[type="tel"] {
  width: 100%;
  box-shadow: none !important;
  height: 44px;
  padding: 0 12px;
  border-radius: 6px !important;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  background-color: #fff;
  color: #000;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.gallery_cv input[type="text"]:focus,
.gallery_cv input[type="password"]:focus,
.gallery_cv input[type="email"]:focus,
.gallery_cv input[type="tel"]:focus {
  border-color: #000;
}

.otp-verification-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.otp-verification-wrapper input {
  margin-bottom: 0 !important;
  padding-right: 120px !important;
}

.btn-send-otp,
.btn-send-otp-forgot {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #10b981;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
}

.btn-send-otp:hover,
.btn-send-otp-forgot:hover {
  text-decoration: underline;
}

.btn-send-otp.disabled,
.btn-send-otp-forgot.disabled {
  color: #ccc;
  pointer-events: none;
}

#otp-error-msg,
#forgot-otp-error-msg,
.error-msg {
  display: none;
  color: #ef4444;
  font-size: 12px;
  margin-bottom: 10px;
}

#otp-status-msg,
#forgot-otp-status-msg,
.status-msg {
  display: none;
  font-size: 12px;
  color: #10b981;
  margin-bottom: 10px;
}

.woocommerce-form-register p.relative {
  margin-bottom: 15px;
}

.woocommerce-password-strength {
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
}

.woocommerce-password-strength.good,
.woocommerce-password-strength.strong {
  color: #10b981;
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
  color: #ef4444;
}

.btn-submit-teal,
.gallery_cv input[type="submit"],
.gallery_cv .woocommerce-form-register__submit {
  width: 100%;
  background: #000;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px !important;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
  text-transform: uppercase;
  color: #fff;
  transition: background-color 0.2s;
  box-sizing: border-box;
}

.btn-submit-teal:hover,
.gallery_cv input[type="submit"]:hover,
.gallery_cv .woocommerce-form-register__submit:hover {
  background: #333;
}

.form-toggle-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #666;
}

.btn-dangky-toggle,
.btn-dangnhap-toggle,
.btn-forgot-toggle {
  color: #ef4444;
  font-weight: bold;
  cursor: pointer;
  transition: text-decoration 0.2s;
}

.btn-dangky-toggle:hover,
.btn-dangnhap-toggle:hover,
.btn-forgot-toggle:hover {
  text-decoration: underline;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 13px;
  color: #666;
}

.login-options label {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.login-options input[type="checkbox"] {
  margin: 0;
  height: auto;
  cursor: pointer;
}

/* custom-info generic popup style */
.popup-custom-full {
  position: fixed;
  width: 100%;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  top: 0;
  left: 0;
}

.popup-custom-full .bg_overlay_popup {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100vh;
  z-index: 999999;
  cursor: pointer;
}

.popup-custom-full .tb-box {
  padding: 25px;
}

.popup-custom-full .popup-content .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.popup-custom-full .title-sub {
  color: #000;
  font-weight: bold;
  font-size: 18px;
}

.popup-custom-full .popup-content .title i {
  font-size: 20px;
  color: #666;
  cursor: pointer;
}

.popup-custom-full .content .title-form {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
  color: #ef4444;
}

.popup-custom-full .content p {
  font-size: 13px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

.popup-custom-full .submit {
  text-align: center;
  margin-top: 20px;
}

.popup-custom-full .submit button {
  background-color: #000;
  color: #fff;
  font-weight: 500;
  padding: 8px 30px;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid #000;
  transition: all 0.2s;
}

.popup-custom-full .submit button:hover {
  background-color: #fff;
  color: #000;
}

.popup-custom-full.show {
  display: flex;
}

/* Custom WooCommerce My Account simplification */

.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.woocommerce-account .entry-header {
  display: none !important;
}
