:root {
  --primary-color: #083D89;
  --primary-hover: #0a4ba6;
  --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --font-main: 'Nunito Sans', sans-serif;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.form-signin {
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05), 0 5px 10px rgba(0,0,0,0.02);
  margin: auto;
}

.form-signin img {
    margin-bottom: 2rem !important;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 61, 137, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 61, 137, 0.2);
}

.text-muted {
    font-size: 0.8rem;
    color: #a0aec0 !important;
}

/* Alert styling modernization */
.alert {
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: #fff5f5;
    color: #c53030;
    border-left: 4px solid #c53030;
}

.alert-success {
    background-color: #f0fff4;
    color: #2f855a;
    border-left: 4px solid #2f855a;
}
