.auth-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.auth-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.auth-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/background.png');
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-form-container {
    width: 520px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 32px;
    opacity: 0.7;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: ;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-group {
    flex: 1;
}

.auth-input {
    width: 100%;
    height: 48px;
    background: #0E0E0E;
    border: none;
    border-radius: 10px;
    padding: 0 24px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.auth-input:focus {
    outline: none;
}

.auth-button {
    min-width: 170px;
    height: 35px;
    background: var(--main-color);
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin: 4px auto 0;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    padding: 0 20px;
    text-align: center;
    line-height: 35px;
    transition: all 0.3s ease;
}

.auth-button:hover {
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(129, 135, 255, 0.7);
    transform: translateY(-2px);
}

.register-prompt {
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}

.register-link {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #9398ff
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.forgot-password {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ffffff;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
}

@media (max-width: 600px) {
    .auth-container {
        padding: 20px;
    }

    .auth-form-container {
        width: 100%;
        padding: 30px 20px;
        border-radius: 15px;
    }

    .auth-title {
        font-size: 22px;
    }

    .auth-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .auth-input {
        height: 44px;
        font-size: 14px;
        padding: 0 20px;
    }

    .auth-button {
        width: 100%;
        height: 40px;
        font-size: 14px;
        line-height: 40px;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .remember-me, .forgot-password {
        font-size: 13px;
    }

    .register-prompt {
        font-size: 14px;
        margin-top: 20px;
    }

    .captcha-container {
        margin: 20px 0;
    }

    .captcha-container > div {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@keyframes upDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}