.auth-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 40px 30px;
}

.auth-title {
    margin-bottom: 30px;
    font-size: 30px;
    color: var(--gray-dark);
    letter-spacing: 10px;
    text-align: center;
}

.auth-form {
    margin-bottom: 30px;
}

.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-light);
}

.auth-divider span {
    background: var(--white);
    padding: 0 20px;
    position: relative;
    color: var(--gray-medium);
    font-size: 14px;
    font-weight: 300;
}

body.dark-theme .auth-divider span {
    background: var(--gray-dark);
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    color: #fff;
    line-height: 1;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 400;
}

.btn-oauth:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.btn-google {
    background: #DB4437;
}

.btn-facebook {
    background: #4267B2;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-medium);
}

.auth-links a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 400;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links .separator {
    margin: 0 10px;
    color: var(--gray-light);
}

.auth-forgot-password {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 20px;
}

.auth-forgot-password a {
    font-size: 13px;
    color: var(--gray-medium);
    text-decoration: none;
}

.auth-forgot-password a:hover {
    text-decoration: underline;
}

.form-error-message {
    color: #c00;
    font-size: 13px;
    display: none;
}

.form-error-message.active {
    display: block !important;
}

.form-success-message {
    color: #2e7d32;
    font-size: 13px;
    padding: 8px 12px;
    background: #e7f4ea;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    display: none;
}

.form-success-message.active {
    display: block;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 30px 20px;
        margin: 30px 20px;
    }

    .auth-title {
        font-size: 24px;
        letter-spacing: 8px;
    }
}