:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
}

body {
    background: linear-gradient(120deg, #e3f0fa 0%, #b3e0ff 100%) !important;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: rgba(255,255,255,0.97);
    border-radius: 2rem;
    box-shadow: 0 12px 40px rgba(0,87,184,0.18), 0 1.5px 8px rgba(0,0,0,0.04);
    border: 1.5px solid #e3f0fa;
    transition: box-shadow 0.3s, border 0.3s;
    max-width: 400px;
    width: 100%;
    padding: 2.5rem 2rem 2rem 2rem;
    animation: fadeIn 0.8s;
    text-align: center;
}

.login-card:hover {
    box-shadow: 0 18px 48px rgba(0,87,184,0.22), 0 2px 12px rgba(0,0,0,0.08);
    border: 1.5px solid #009ee3;
}

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

.login-logo {
    background: linear-gradient(135deg, #e3f0fa 60%, #009ee3 100%);
    border-radius:50%; width:80px; height:80px; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 12px rgba(0,87,184,0.10);
    margin-bottom: 0.5rem;
    border: 2.5px solid #fff;
    margin-left: auto;
    margin-right: auto;
}

.login-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0057b8;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px #e3f0fa;
    text-align: center;
}

.login-subtitle {
    font-size: 1.08rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-align: center;
}

.form-label {
    font-weight: 700;
    color: #0057b8;
    letter-spacing: 0.5px;
}

.input-group-text {
    background: #e3f0fa;
    border: none;
    color: #0057b8;
    font-size: 1.15rem;
}

.form-control {
    border-radius: 0.9rem;
    font-size: 1.08rem;
    background: #f8fafc;
    border: 1.5px solid #e3f0fa;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #009ee3;
    box-shadow: 0 0 0 0.2rem rgba(0,158,227,0.10);
    background: #fff;
}

#togglePassword {
    border: none;
    background: transparent;
    color: #009ee3;
    font-size: 1.15rem;
}

.btn-primary {
    background: linear-gradient(90deg, #0057b8 60%, #009ee3 100%);
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px #b3e0ff;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:active, .btn-primary:focus {
    background: #0057b8;
    box-shadow: 0 2px 12px #0057b8;
}

.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    display: none;
}

.alert-danger {
    font-size: 0.97rem;
    border-radius: 0.7rem;
    border: none;
    background: #ffeaea;
    color: #b80000;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #6c757d;
    font-size: 0.95rem;
}

@media (max-width: 500px) {
    .login-card { padding: 0.5rem; }
    .card-body { padding: 1.5rem !important; }
    .login-logo { width: 60px; height: 60px; }
    .login-title { font-size: 1.5rem; }
}