.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
}

.login-box {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.login-intro h1 {
    font-size: 2.8rem;
    color: var(--primary-color, #003366);
    margin-bottom: 1rem;
}

.login-intro p {
    font-size: 1.6rem;
    color: var(--text-color, #333);
    margin-bottom: 3rem;
}

.login-step {
    display: none;
}

.login-step:not(.hidden) {
    display: block;
}

.login-step input[type="email"],
.login-step input[type="password"] {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    transition: all 0.2s ease;
}

.login-step input[type="email"]:focus,
.login-step input[type="password"]:focus {
    border: 1px solid var(--primary-color);
}

.terms-checkbox {
    margin-bottom: 1rem;
}

#termsCheckboxLabel {
    cursor: pointer;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 16px;
    height: 16px;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: -3px;
}

input[type="checkbox"]:checked::after {
    content: "✔";
    background-color: var(--primary-color);
    font-size: 15px;
    position: absolute;
    top: -5px;
    left: 0px;
    color: white;
}

.login-step a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-step .forgot-password {
    display: block;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-step .forgot-password:hover,
.login-step a:hover {
    color: var(--primary-color-dark);
}

.action-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.6rem;
    border: none;
    border-radius: 3rem;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background-color: var(--secondary-color-dark);
    cursor: pointer;
}

.action-btn:active {
    background-color: var(--secondary-color-darker);
}

.action-btn:disabled {
    opacity: 0.65;
}

.login-error {
    background-color: #ffe4e4;
    border: 1px solid var(--error-color);
    color: var(--error-color);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
    text-align: center;
    animation: shake 0.3s ease-in-out;
}

.login-error a {
    color: var(--primary-color);
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.hidden {
    display: none !important;
}
