/* PREMIUM AUTH MODAL STYLES */
.auth-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 9999999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding-top: 120px !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal-overlay.auth-visible {
  opacity: 1 !important;
  visibility: visible !important;
}

.auth-modal-content {
  width: 517px !important;
  height: auto !important;
  min-height: 520px !important;
  background: #ffffff !important;
  border-radius: 35px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 auto !important;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  height: 70px;
  flex-shrink: 0;
}

.auth-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.auth-tab.active {
  color: #0f172a;
}

.auth-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #8ec0ed;
  border-radius: 10px;
}

.auth-view {
  display: none;
  padding: 40px 50px;
  height: auto;
  position: relative;
}

.auth-view.active {
  display: flex;
  flex-direction: column;
}

.auth-form-group {
  margin-bottom: 20px;
}

.auth-form-group label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #4e6a8e;
  margin-bottom: 8px;
  padding-left: 5px;
}

.auth-form-group input {
  width: 100% !important;
  height: 54px !important;
  background: #f7f7f7 !important;
  border: none !important;
  border-radius: 27px !important;
  padding: 0 25px !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
}

.auth-form-group input:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 2px #8ec0ed !important;
  outline: none !important;
}

.auth-submit-btn {
  width: 100% !important;
  max-width: 250px !important;
  height: 54px !important;
  background: #8ec0ed !important;
  border: none !important;
  border-radius: 27px !important;
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  margin: 40px auto 15px !important;
  display: block !important;
  cursor: pointer !important;
  box-shadow: 0 10px 15px -3px rgba(142, 192, 237, 0.4) !important;
  transition: all 0.3s ease !important;
}

.auth-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 20px -3px rgba(142, 192, 237, 0.5) !important;
}

.auth-submit-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.auth-error-alert {
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  color: #e11d48;
  padding: 12px 15px;
  border-radius: 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
}

.auth-footer-links {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #94a3b8;
  line-height: 140%;
}

.auth-footer-links a {
  color: #2d4e6a !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

@media (max-width: 550px) {
  .auth-modal-content {
    width: 90% !important;
    height: auto !important;
    min-height: 450px !important;
    padding-bottom: 30px !important;
  }
  .auth-view {
    padding: 30px 25px !important;
  }
}
