html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100vw;
  
  background-image: url('background_image.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Modern Sans-Serif Font */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-color: #0d0f12;
}

/* Glassmorphism Card (Variant D Style) */
.login-card {
  background: rgba(20, 24, 33, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.login-header p {
  margin: 0.25rem 0 0 0;
  color: #8b949e;
  font-size: 0.95rem;
}

/* Stacked Full-Width Inputs */
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.input-group label {
  font-size: 0.85rem;
  color: #c9d1d9;
  margin-bottom: 0.4rem;
  text-align: left;
}

.input-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(13, 15, 18, 0.7);
  border: 1px solid #1f242d;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* Glowing Input Effect */
.input-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* Checkbox & Forgot Password Alignment */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #8b949e;
  cursor: pointer;
}

.forgot-pass, .login-footer a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-pass:hover, .login-footer a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Vibrant Blue Button */
.btn-primary {
  width: 100%;
  padding: 0.85rem;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #8b949e;
}

/* Success Alert Box */
.alert-success {
  background-color: rgba(46, 160, 67, 0.2);
  border: 1px solid #2ea043;
  color: #56d364;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  text-align: center;
}