/* Auth Modal Styles */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.auth-modal {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: all 0.3s ease;
  position: relative;
}

.auth-modal-overlay.active .auth-modal {
  transform: translateY(0);
}

.auth-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #64748b;
  transition: color 0.2s;
}

.auth-close-btn:hover {
  color: #0f1014;
}

.auth-modal h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f1014;
  margin-bottom: 8px;
}

.auth-modal p.subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 30px;
}

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

.auth-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0f1014;
  margin-bottom: 8px;
}

.auth-form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
  background: #f8fafc;
}

.auth-form-group input:focus {
  border-color: #0f1014;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 16, 20, 0.1);
}

.auth-btn {
  width: 100%;
  padding: 14px;
  background: #0f1014;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 20px;
}

.auth-btn:hover {
  background: #27282d;
  transform: translateY(-2px);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #94a3b8;
  font-size: 13px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.auth-divider:not(:empty)::before { margin-right: .25em; }
.auth-divider:not(:empty)::after { margin-left: .25em; }

.google-btn {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  color: #0f1014;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.google-btn:hover {
  background: #f8fafc;
}

.auth-toggle {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  margin-top: 24px;
}

.auth-toggle a {
  color: #0f1014;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.auth-toggle a:hover {
  text-decoration: underline;
}

.auth-error {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 15px;
  text-align: center;
  display: none;
}
