/* ============================================
   Login Page Styles
   ============================================ */

.auth-container {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 48px 40px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.auth-card:hover::before {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-header .kicker {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  opacity: 0.9;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--neon-cyan);
  position: relative;
}

.auth-header .kicker::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: rgba(0, 255, 255, 0.5);
}

.auth-title {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 700;
  color: white;
  text-shadow: 
    0 0 10px rgba(0, 255, 255, 0.5),
    0 0 20px rgba(0, 255, 255, 0.3);
  line-height: 1.3;
  display: block;
}

.auth-subtitle {
  font-size: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-cyan);
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.3),
    inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.form-group input:hover:not(:focus) {
  border-color: rgba(0, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.form-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -4px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: -8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  user-select: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  position: relative;
  z-index: 1;
}

.checkbox-label span {
  pointer-events: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  cursor: pointer;
  accent-color: var(--neon-cyan);
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 4px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  accent-color: var(--neon-cyan);
}

.checkbox-label input[type="checkbox"]:focus {
  outline: 2px solid rgba(0, 255, 255, 0.5);
  outline-offset: 2px;
}

.forgot-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.forgot-link:hover {
  color: white;
  text-shadow: 0 0 15px var(--neon-cyan);
}

.link-inline {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-inline:hover {
  color: white;
  text-shadow: 0 0 10px var(--neon-cyan);
}

.btn-primary {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  border: 2px solid var(--neon-cyan);
  border-radius: 12px;
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border-color: var(--neon-purple);
  transform: translateY(-2px);
  box-shadow: 
    0 0 30px rgba(0, 255, 255, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

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

.auth-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.auth-footer a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.auth-footer a:hover {
  color: white;
  text-shadow: 0 0 15px var(--neon-cyan);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .auth-container {
    padding: 20px 16px;
    min-height: calc(100vh - 60px);
  }

  .auth-card {
    padding: 36px 28px;
    border-radius: 20px;
  }

  .auth-title {
    font-size: 2rem;
  }

  .auth-subtitle {
    font-size: 0.9rem;
  }

  .form-group input {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .auth-card {
    padding: 32px 24px;
    border-radius: 16px;
  }

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

  .auth-header {
    margin-bottom: 32px;
  }

  .auth-form {
    gap: 20px;
  }

  .form-group input {
    padding: 12px 14px;
  }
}

