/* ============================================================
   AUTHENTICATION STYLES
   ============================================================ */

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-outline:active {
    transform: translateY(0);
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-email {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
}

/* Auth Modal Specific Styles */
.auth-modal {
    max-width: 420px;
}

/* Auth Error Message */
.auth-error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.auth-error.hidden {
    display: none;
}

/* Auth Toggle (переключение между входом и регистрацией) */
.auth-toggle {
    text-align: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-light);
}

.auth-toggle .btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    transition: var(--transition);
}

.auth-toggle .btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-profile {
        flex-direction: column;
        gap: 0.5rem;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .btn-outline {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-outline {
        width: 100%;
    }

    .user-profile {
        width: 100%;
        flex-direction: column;
    }

    .auth-modal {
        width: 95%;
        max-width: 100%;
    }
}
