.header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.user-box {
  background: #0f1628;
  border: 1px solid #1f2a44;
  border-radius: 12px;
  padding: 12px 20px;
  width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e2e8f0;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  animation: fadeIn 0.6s ease-in-out;
}

.user-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-left i {
  color: #60a5fa;
  font-size: 18px;
}

.logout-btn {
  color: #ef4444;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: 0.2s;
}

.logout-btn i {
  font-size: 18px;
}

.logout-btn:hover {
  color: #f87171;
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #0b1220, #060b16);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-card {
  background: rgba(15, 22, 40, 0.9);
  border: 1px solid rgba(138, 180, 255, 0.15);
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.1);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-card h1 {
  font-size: 26px;
  font-weight: 800;
  color: #8ab4ff;
  margin-bottom: 10px;
}

.subtitle {
  color: #94a3b8;
  margin-bottom: 25px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 12px 14px;
  color: #e2e8f0;
  font-size: 14px;
  transition: all 0.3s ease;
}

input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
  outline: none;
}

button {
  background: linear-gradient(90deg, #2563eb, #1e40af);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

.alert {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
  margin-bottom: 15px;
}

.hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 25px;
}
