/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Body background */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #004e92, #000428);
  color: #fff;
}

/* Login wrapper centers the card */
.login-wrapper {
  width: 100%;
  max-width: 380px;
  margin: auto;
}

/* Login card */
.login-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  text-align: center;
  transition: transform 0.2s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

/* Logo */
.logo {
  width: 70px;
  margin-bottom: 20px;
}

/* Heading */
.login-card h2 {
  margin-bottom: 25px;
  font-size: 22px;
  color: #facc15;
}

/* Inputs */
input[type="text"], input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 15px;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Placeholder color */
::placeholder {
  color: #d1d5db;
}

/* Button */
button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
}

/* Error message */
#loginError {
  color: #f87171;
  margin-top: 12px;
  font-size: 14px;
  display: none;
}

/* Sidebar Links */
.sidebar a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;  /* default color for other links */
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}

.sidebar a:hover {
    background-color: #e0e0e0;
    color: #000;
}

/* Status Checker special style */
.sidebar a.status-link {
    color: white;                 /* white text */
    background-color: #0033aa;    /* highlight */
}

.sidebar a.status-link:hover {
    background-color: #002a88;    /* darker blue */
    color: white;                 /* stay readable */
}
