/* ==========================================================================
   FREEDOM ADMIN LOGIN - CENTERED & PREMIUM ANIMATED STYLES
   ========================================================================== */

/* Full Viewport Perfectly Centered Shell */
.login-page-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0F172A;
  background: radial-gradient(circle at 50% 50%, #1E293B 0%, #0F172A 100%);
  padding: 24px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Floating Ambient Glow Orbs */
.login-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #FF6B00 0%, rgba(255, 107, 0, 0) 70%);
  top: -80px;
  left: -60px;
  animation: floatOrb1 12s ease-in-out infinite alternate;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #E65100 0%, rgba(230, 81, 0, 0) 70%);
  bottom: -100px;
  right: -80px;
  animation: floatOrb2 14s ease-in-out infinite alternate;
}

.orb-3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 163, 102, 0.6) 0%, rgba(255, 107, 0, 0) 70%);
  top: 40%;
  right: 15%;
  animation: floatOrb3 10s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-20px, 40px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -40px) scale(1.15); }
  100% { transform: translate(30px, -60px) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(0.9); opacity: 0.3; }
  100% { transform: translate(-30px, 30px) scale(1.2); opacity: 0.6; }
}

/* Glassmorphic Login Card with Entrance Animation */
.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 107, 0, 0.12);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  animation: cardEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Glowing Top Accent Strip */
.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #FF6B00, #FFA366, #FF6B00);
  background-size: 200% 100%;
  animation: shimmerBorder 4s linear infinite;
}

@keyframes shimmerBorder {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Logo Aura */
.login-logo-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.login-logo {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  background-color: #FFFFFF;
  padding: 4px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-logo:hover {
  transform: scale(1.06) rotate(-2deg);
}

.login-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 107, 0, 0.4) 0%, rgba(255, 107, 0, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  animation: logoGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes logoGlowPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0.9; }
}

/* Header */
.login-header {
  text-align: center;
  margin-bottom: 26px;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0;
}

.login-subtitle {
  font-size: 0.86rem;
  color: #94A3B8;
  margin-top: 6px;
  font-weight: 500;
}

/* Form Elements */
.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 6px;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  width: 100%;
  height: 46px;
  padding: 10px 48px 10px 14px;
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.password-input-wrapper input:focus {
  outline: none;
  border-color: #FF6B00;
  background-color: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25);
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: #FF6B00;
}

/* Button */
#btn-login-submit {
  height: 48px;
  background: linear-gradient(135deg, #FF6B00 0%, #E65100 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#btn-login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.45);
  filter: brightness(1.05);
}

#btn-login-submit:active {
  transform: translateY(0);
}

/* Alert */
.login-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-alert.error {
  background-color: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer Badge */
.login-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
  text-align: center;
}

.login-footer svg {
  stroke: #64748B;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 32px 20px;
    border-radius: 16px;
  }
  .login-title {
    font-size: 1.35rem;
  }
}
