:root {
    --primary-color: #4e73df;
    --primary-dark: #2e59d9;
    --secondary-color: #6c757d;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fc;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.login-container {
    display: flex;
    max-width: 900px;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.login-image {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
    background-size: cover;
    background-position: center;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 40px;
    position: relative;
}

.login-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
}

.login-image h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    z-index: 1;
}

.login-image p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    text-align: center;
    z-index: 1;
}

.login-image img {
    max-width: 100px;
    z-index: 1;
}

.login-form {
    width: 65%;
    padding: 40px;
}

.login-form h3 {
    color: #000;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating input {
    border-radius: 10px;
    height: 55px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 1rem 0.75rem;
    transition: all 0.3s ease;
}

.form-floating input:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
    background-color: white;
}

.form-floating label {
    padding: 1rem 0.75rem;
}

.login-btn {
    background-color: #000;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    height: 50px;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 89, 217, 0.2);
}

.login-footer {
    text-align: center;
    color: var(--secondary-color);
    margin-top: 30px;
    font-size: 0.875rem;
}

.forgot-link {
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.forgot-link:hover {
    color: #000;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-image,
    .login-form {
        width: 100%;
    }

    .login-image {
        padding: 30px;
    }

    .login-form {
        padding: 30px;
    }
}

.home-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    z-index: 100;
    background-color: rgba(78, 115, 223, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.home-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.animate-login {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-img {
    width: 120px;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid #f8f9fc;
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);  
} 