/* Auth modal styles - glassmorphism matching the app design */

#authModal .modal-panel {
    max-width: 380px;
    padding: 30px;
}

#authForm .form-group {
    margin-bottom: 16px;
}

#authForm label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    opacity: 0.8;
}

#authForm input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--glass-border, rgba(255,255,255,0.3));
    border-radius: 10px;
    background: var(--glass-bg, rgba(255,255,255,0.15));
    color: var(--text-color, #2d3748);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, background 0.2s;
}

#authForm input:focus {
    border-color: #df3b6c;
    background: var(--glass-bg, rgba(255,255,255,0.25));
}

#authForm .auth-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#authForm .btn-primary {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #df3b6c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

#authForm .btn-primary:hover {
    opacity: 0.85;
}

#authForm .btn-secondary {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--glass-border, rgba(255,255,255,0.3));
    border-radius: 10px;
    background: transparent;
    color: var(--text-color, #2d3748);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

#authForm .btn-secondary:hover {
    background: var(--glass-bg, rgba(255,255,255,0.15));
}

#authError {
    color: #df3b6c;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
    min-height: 20px;
}

#authModal .modal-header h2 {
    text-align: center;
    margin: 0 0 20px 0;
}

@media (prefers-color-scheme: dark) {
    #authForm input {
        --glass-bg: rgba(255,255,255,0.06);
        --text-color: #f7fafc;
    }
    #authForm .btn-secondary {
        --glass-border: rgba(255,255,255,0.1);
        --text-color: #f7fafc;
    }
}
