/* ==== RESET & BASE ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: #1f2937;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
}

/* ==== LOGIN CARD ==== */
.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(25px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3);
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease forwards;
}

.login-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.35);
}

.login-card-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ==== FORM ==== */
.form-group {
  margin-bottom: 1.25rem;
}

label {
  color: #e5e7eb;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.input-group {
  position: relative;
}

.input-group .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.1rem;
}

.input-group .password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1rem;
}

.input-group input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1rem;
  transition: all 0.25s ease;
  outline: none;
}

.input-group input::placeholder {
  color: #d1d5db;
}

.input-group input:focus {
  border-color: #a78bfa;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
}

/* ==== BUTTON ==== */
.login-button {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.3);
}

.login-button:hover {
  background: linear-gradient(135deg, #5b21b6, #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.4);
}

.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==== CHECKBOX & OPTIONS ==== */
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
  color: #d1d5db;
  font-size: 0.9rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.remember-me input {
  accent-color: #8b5cf6;
}

/* ==== ERROR ==== */
.error-message {
  color: #f87171;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  height: 1rem;
}

/* ==== ANIMATIONS ==== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 640px) {
  body {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    padding: 2rem 1rem;
  }

  .login-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .login-card-content h2 {
    font-size: 1.6rem;
  }
}
/* ===== HEADER ===== */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  background: transparent;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-container .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.3);
}

.site-name {
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

/* ===== FOOTER ===== */
footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #e5e7eb;
  font-size: 0.875rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

footer a {
  color: #a5b4fc;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

footer .contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

footer .contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #d1d5db;
}

footer .contact-item i {
  color: #a78bfa;
}
