body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #1e293b;
}

.login-container {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

.logo-area {
  text-align: center;
  margin-bottom: 2rem;
}

.isd-logo {
  width: 80px;
  margin-bottom: 1rem;
}

.logo-area h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.logo-area p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.btn-primary {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(to right, #2563eb, #3b82f6);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.alert-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1100;
}

.alert {
  background: #f87171;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadein 0.3s ease;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Logout Button Styles */
.logout-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-email {
    font-weight: 500;
    color: #007bff;
}

.logout-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 82, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 82, 0.4);
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
}

.logout-btn:active {
    transform: translateY(0);
}

.logout-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logout-container {
        top: 10px;
        right: 10px;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .user-info {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .logout-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Alternative Header Integration Style */
.header-with-logout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.header-logout-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
