:root { 
    --fb-blue: #0866FF; 
    --fb-gray: #65676B; 
    --fb-divider: #E4E6EB;
}

body { 
    margin: 0; font-family: 'Segoe UI', sans-serif; 
    background-image: url('bg-univers.png');
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed;
    padding-bottom: 75px; 
}

header { 
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 16px; position: sticky; top: 0; z-index: 1000;
    border-bottom: 2px solid var(--fb-blue);
    backdrop-filter: blur(10px);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.app-logo-mini { height: 32px; width: 32px; border-radius: 6px; border: 1px solid var(--fb-divider); }
.user-name { font-weight: 800; margin-left: 10px; color: #050505; font-size: 16px; letter-spacing: -0.5px; }
.yt-icon-link { display: flex; align-items: center; cursor: pointer; transition: transform 0.2s; }
.yt-icon-link:active { transform: scale(0.9); }

.fb-card { background: white; padding: 16px; border-radius: 12px; margin: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.card-title { font-size: 13px; color: var(--fb-gray); text-transform: uppercase; margin-bottom: 15px; font-weight: 700; border-bottom: 1px solid var(--fb-divider); padding-bottom: 8px; }

.fb-navbar { position: fixed; bottom: 0; left: 0; right: 0; height: 65px; background: white; display: flex; border-top: 1px solid var(--fb-divider); z-index: 2000; }
.nav-btn { flex: 1; border: none; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--fb-gray); position: relative; }
.nav-svg { width: 24px; height: 24px; fill: var(--fb-gray); margin-bottom: 2px; }
.nav-btn.active { color: var(--fb-blue); }
.nav-btn.active .nav-svg { fill: var(--fb-blue); }
.nav-btn.active::after { content: ''; position: absolute; bottom: 0; width: 40%; height: 4px; background: var(--fb-blue); border-radius: 4px 4px 0 0; }

input, select, textarea { width: 100%; padding: 14px; background: #F0F2F5; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; margin-top: 5px; box-sizing: border-box; }
.fb-btn-primary { width: 100%; padding: 14px; background: var(--fb-blue); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; margin-top: 10px; }
.fb-btn-secondary { width: 100%; padding: 14px; background: #E4E6EB; color: #050505; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
.fb-btn-outline { width: 100%; padding: 12px; background: white; border: 1px solid #ddd; border-radius: 8px; text-align: left; margin-bottom: 8px; font-weight: 500; }

.garage-item { padding: 12px; border-bottom: 1px solid var(--fb-divider); }
.garage-name { font-weight: 700; color: #050505; display: block; }
.call-link { color: var(--fb-blue); text-decoration: none; font-size: 13px; font-weight: 600; display: inline-block; margin-top: 5px; }

.tab-content { display: none; max-width: 500px; margin: auto; }
.tab-content.active { display: block; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.fb-result-box { margin-top: 15px; padding: 12px; background: #E7F3FF; color: var(--fb-blue); border-radius: 8px; font-weight: bold; text-align: center; display: none; }
.progress-card { background: #1c1e21 !important; color: white; }
.bar-container { background: #3e4042; height: 8px; border-radius: 10px; margin-top: 12px; }
#progress-fill { background: var(--fb-blue); height: 100%; width: 0%; transition: 1s ease-in-out; }