/* === VISUAL STYLES (APPLE-LIKE) === */
:root {
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.08); 
    --card-radius: 24px; 
    --btn-bg: #1e293b;
}

body { 
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased; 
    background-color: #F2F2F7; 
    letter-spacing: -0.01em; 
}

.font-brand { font-family: 'Playfair Display', serif; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@media (min-width: 768px) {
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 99px; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

    #app-container {
        max-width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

@keyframes slideRight {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.animate-slide-right { animation: slideRight 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.animate-slide-up { animation: slideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fade-in { animation: fadeIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

.apple-card {
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.apple-card:active { transform: scale(0.98); }

@media (min-width: 768px) {
    .apple-card:active { transform: none; }
    .group:active .apple-card { transform: scale(0.98); }
}

.pill-badge {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 99px;
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

header { box-shadow: 0 4px 20px -5px rgba(0,0,0,0.06); z-index: 50; }

/* TOGGLE BUTTONS FOR ONBOARDING */
.pigment-toggle {
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
}
.pigment-toggle.selected {
    background-color: #F8FAFC;
    border-color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.pigment-toggle .check-icon {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}
.pigment-toggle.selected .check-icon {
    opacity: 1;
    transform: scale(1);
    color: #1e293b;
}

/* AUTH STYLES */
#user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}