/* UTU Login Page Styles */

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Login page specific styles */
.login-container {
  animation: fadeIn 0.6s ease-out;
}

.login-card {
  animation: slideInUp 0.8s ease-out 0.2s both;
}

/* UTU Brand Colors */
:root {
  --utu-primary: #2563eb;
  --utu-secondary: #7c3aed;
  --utu-accent: #06b6d4;
  --utu-success: #10b981;
  --utu-warning: #f59e0b;
  --utu-error: #ef4444;
}

/* Custom gradient backgrounds */
.bg-gradient-utu {
  background: linear-gradient(135deg, var(--utu-primary) 0%, var(--utu-secondary) 100%);
}

.text-gradient-utu {
  background: linear-gradient(135deg, var(--utu-primary) 0%, var(--utu-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced input focus states */
.input:focus {
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Button hover effects */
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

/* Loading state for submit button */
.btn.loading::after {
  border-color: currentColor transparent transparent transparent;
}

/* Theme switcher enhancements */
.dropdown-content {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .dropdown-content {
  background: rgba(0, 0, 0, 0.95);
}

/* Card shadow enhancements */
.card {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .login-container {
    padding: 1rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
}

/* Error state styling */
.input-error {
  border-color: var(--utu-error) !important;
  box-shadow: 0 0 0 1px var(--utu-error);
}

.input-error:focus {
  border-color: var(--utu-error) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Success state styling */
.input-success {
  border-color: var(--utu-success) !important;
  box-shadow: 0 0 0 1px var(--utu-success);
}

/* Custom checkbox styling */
.checkbox-primary:checked {
  background-color: var(--utu-primary);
  border-color: var(--utu-primary);
}

/* Link hover effects */
.link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

/* Brand logo animation */
.brand-logo {
  animation: pulse 2s infinite;
}

.brand-logo:hover {
  animation: none;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}