:root {
    --primary-color: #4e73df;
    --secondary-color: #f8f9fc;
    --accent-color: #2e59d9;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-in-out;
}

.login-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    border-bottom: none;
}

.card-header h3 {
    font-weight: 600;
    margin-bottom: 0;
}

.card-body {
    padding: 2.5rem;
    background-color: white;
}

.form-control {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding-left: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.input-group-text {
    background-color: #f8f9fc;
    border-radius: 8px 0 0 8px;
}

.btn-login {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(0);
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
    z-index: 1;
}

.divider span {
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 0 15px;
    color: #777;
    font-size: 14px;
}

.footer-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}
