:root {
  --primary-color: #0a3d62;
  --accent-color: #3498db; 
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --bg-gradient: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
  --white: #ffffff;
  --error-bg: #fee2e2;
  --error-text: #ef4444;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg-gradient);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
}

.login-wrapper {
  padding: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.login-box {
  background: var(--white);
  padding: 40px;
  width: 100%;
  max-width: 400px; 
  border-radius: 16px; 
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

/* LOGO Styling */
.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  height: 60px; 
  width: auto;
  object-fit: contain;
}

/* Header Text */
.header-text {
  text-align: center;
  margin-bottom: 30px;
}

.header-text h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.header-text p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Form Styling */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-sizing: border-box; 
  transition: all 0.2s ease;
  outline: none;
  background: #f8fafc;
}

input:focus {
  background: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.1); 
}

input::placeholder {
  color: #94a3b8;
}

/* Button Styling */
.btn-login {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}

.btn-login:hover {
  background: #082f4b; 
}

.btn-login:active {
  transform: scale(0.98); 
}

/* Error Alert */
.alert-error {
  background: var(--error-bg);
  color: var(--error-text);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid #fecaca;
}

/* Footer */
.footer-text {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--primary-color);
}
