@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

* {
  font-family: "Inter", sans-serif;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.dark .navbar {
  background: rgba(17, 24, 39, 0.95);
}

.login-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  transition: all 0.3s ease;
  padding: 120px 0 60px 0;
}

.dark .login-section {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.text-primary {
  color: #1e40af;
}

.btn-primary {
  background-color: #1e40af;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1e3a8a;
  transform: translateY(-2px);
}

.card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.dark .card {
  background: #374151;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.input-field {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.3s ease;
  background: white;
}

.dark .input-field {
  background: #1f2937;
  border-color: #4b5563;
  color: #f9fafb;
}

.input-field:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  display: block;
}

.dark .label {
  color: #d1d5db;
}

.error-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 4px solid #dc2626;
  margin-bottom: 20px;
}

.dark .error-message {
  background: #7f1d1d;
  color: #fca5a5;
}

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.dark-mode-toggle {
  position: fixed;
  top: 120px;
  right: 20px;
  background: #f3f4f6;
  padding: 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.dark .dark-mode-toggle {
  background: #374151;
  color: #f3f4f6;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
}

.dark {
  color-scheme: dark;
}

.dark body {
  background-color: #111827;
  color: #f9fafb;
}

.dark .bg-white {
  background-color: #1f2937 !important;
}

.dark .bg-gray-50 {
  background-color: #111827 !important;
}

.dark .text-gray-800 {
  color: #f9fafb !important;
}

.dark .text-gray-600 {
  color: #d1d5db !important;
}

.dark .text-gray-700 {
  color: #e5e7eb !important;
}

.dark .border-gray-100 {
  border-color: #374151 !important;
}

.link {
  color: #1e40af;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.link:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

.dark .link {
  color: #60a5fa;
}

.dark .link:hover {
  color: #93c5fd;
}

@media (max-width: 768px) {
  .login-section {
    padding: 100px 0 40px 0;
  }

  .dark-mode-toggle {
    right: 10px;
  }
}
