/* Auth Page Styles - TikTok-Style Mobile-First */

.auth-container {
    max-width: 480px;
    margin: var(--space-12) auto;
    padding: 0 var(--space-4);
}

.auth-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8) var(--space-6);
    box-shadow: var(--shadow-lg);
}

.auth-card h1 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-2);
    text-align: center;
    color: var(--text-primary);
}

.auth-card .subtitle {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-align: center;
    margin-bottom: var(--space-6);
}

.oauth-section {
    margin-top: var(--space-4);
}

.oauth-intro {
    text-align: center;
    margin-bottom: var(--space-4);
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
}

.btn-oauth:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--spacex-blue);
    box-shadow: 0 0 24px rgba(255, 51, 102, 0.3);
}

.oauth-footer {
    text-align: center;
    margin-top: var(--space-4);
}

/* Profile Setup - Minimal TikTok Style */

.profile-setup {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.profile-setup__card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
}

@media (max-width: 480px) {
    .profile-setup__card {
        padding: 32px 24px;
        border-radius: 20px;
    }
}

.profile-setup__title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: -0.02em;
}

@media (max-width: 480px) {
    .profile-setup__title {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

.profile-setup__error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 12px;
    color: #ff3366;
    font-size: 14px;
    margin-bottom: 20px;
}

.profile-setup__error svg {
    flex-shrink: 0;
    color: #ff3366;
}

.profile-setup__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-setup__input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.profile-setup__input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: #ff3366;
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.1);
}

.profile-setup__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.profile-setup__status {
    min-height: 20px;
    font-size: 13px;
    margin-top: -8px;
}

.profile-setup__preview {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: -8px;
    text-align: center;
}

.profile-setup__preview span {
    color: #ff3366;
    font-weight: 600;
}

.profile-setup__btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff3366, #ff6b9d);
    border: none;
    border-radius: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(255, 51, 102, 0.3);
}

.profile-setup__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 51, 102, 0.5);
}

.profile-setup__btn:active {
    transform: translateY(0);
}

/* HTMX Status Messages */

.username-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.username-available {
    color: #00ff88;
    font-size: 13px;
    font-weight: 500;
}

.username-error {
    color: #ff3366;
    font-size: 13px;
    font-weight: 500;
}
