/* ReserBee Super Admin - Authentication Styles */
/* Login page, auth backgrounds, forms */

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

.auth-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: var(--primary-light);
}

.auth-background::before {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  content: "";
  background: radial-gradient(
    circle,
    rgba(255, 249, 71, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.auth-background::after {
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  content: "";
  background: radial-gradient(
    circle,
    rgba(245, 197, 99, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

.auth-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.login-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 3rem;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}

.login-card::before {
  display: none;
}

.login-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.login-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.login-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  animation: pulse-subtle 3s ease-in-out infinite;
}

.login-title {
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--charcoal);
}

.login-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-medium);
}

.login-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.premium-input {
  width: 100%;
  min-height: 48px;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.premium-input:focus {
  outline: none;
  background-color: var(--bg-white);
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(255, 249, 71, 0.2);
}

.premium-input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.error-message {
  display: none;
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--danger-red);
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  animation: shake 0.4s ease;
}

.premium-submit-btn {
  position: relative;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1.5rem;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  background: var(--honey);
  border: 1px solid var(--charcoal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.premium-submit-btn::before {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.premium-submit-btn:hover::before {
  left: 100%;
}

.premium-submit-btn:hover {
  box-shadow: var(--shadow-honey);
  transform: translateY(-2px);
}

.premium-submit-btn:active {
  transform: translateY(0);
}

.premium-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.submit-arrow {
  transition: transform 0.3s ease;
}

.premium-submit-btn:hover .submit-arrow {
  transform: translateX(4px);
}

.login-footer {
  padding-top: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.login-footer p {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Responsive Design for Login */
@media (max-width: 768px) {
  .login-card {
    padding: 2rem 1.5rem;
  }

  .login-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .auth-container {
    padding: 1rem;
  }
}
