:root {
    --primary: rgb(82, 115, 179);
    --secondary: rgb(177, 204, 229);
    --primary-dark: rgb(62, 95, 159);
}

body {
    font-family: "Figtree", sans-serif;
    background: linear-gradient(
        135deg,
        rgba(177, 204, 229, 0.15) 0%,
        rgba(82, 115, 79, 0.15) 100%
    );
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
  }
}

.login-header {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.logo-container {
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-container img {
    height: 60px;
    width: auto;
}

.login-body {
    padding: 2.5rem 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(177, 204, 229, 0.25);
}

.input-group-text {
    background: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: 10px 0 0 10px;
    color: var(--primary-dark);
    font-weight: 600;
}

.input-group .form-control {
    border-radius: 0 10px 10px 0;
    border-left: none;
}

.btn-login {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(82, 115, 179, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(62, 95, 159, 0.4);
    background: var(--primary-dark);
    color: white;
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.25rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    color: #6c757d;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer-text {
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 2rem;
}

.footer-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-text a:hover {
    text-decoration: underline;
}

.password-toggle {
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--primary);
}

.modal-header {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.5rem;
}