:root {
    --gf-bg: #0b1220;
    --gf-card: rgba(255,255,255,0.92);
    --gf-primary: #0d6efd;
    --gf-secondary: #17325c;
    --gf-text: #132238;
    --gf-soft: #6b7280;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--gf-text);
    background:
        linear-gradient(rgba(8, 15, 32, 0.65), rgba(8, 15, 32, 0.82)),
        url('../img/background.jpg') center center / cover fixed no-repeat;
    min-height: 100vh;
}

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(5, 11, 24, 0.65);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand { color: #fff; gap: 14px; }
.brand-title { font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; }
.brand-subtitle { font-size: .85rem; color: rgba(255,255,255,.72); }
.brand-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 18px;
    background: transparent;
    padding: 0;
    display: block;
}

.hero-card,
.glass-card,
.filter-card,
.guide-card,
.form-card,
.admin-card {
    background: var(--gf-card);
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    border-radius: 24px;
}
.hero-card { padding: 28px; }
.hero-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.04; }
.hero-text { color: rgba(255,255,255,.88); max-width: 850px; }
.hero-wrap { padding: 42px 0 20px; }
.badge-soft {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.filter-card, .form-card, .admin-card { padding: 24px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.guide-card { overflow: hidden; }
.guide-card .cover { height: 190px; background: linear-gradient(135deg, #193866, #0d6efd); display: flex; align-items: center; justify-content: center; }
.guide-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.guide-card .cover .cover-icon { font-size: 3.2rem; color: rgba(255,255,255,.92); }
.guide-card .body { padding: 20px; }
.guide-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 2px; }
.guide-meta { color: var(--gf-soft); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-content: flex-start; }
.chips-languages { min-height: 72px; }
.chip {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #1f4ca8;
    font-size: .82rem;
    font-weight: 600;
}
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat-box {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    padding: 18px 20px;
}
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; }
.section-title { color: #fff; font-size: 1.45rem; font-weight: 800; margin-bottom: 14px; }
.muted-on-dark { color: rgba(255,255,255,.72); }
.form-label { font-weight: 700; font-size: .92rem; }
.form-control, .form-select, .form-check-input { border-radius: 14px; }
.form-control, .form-select { min-height: 48px; }
textarea.form-control { min-height: 120px; }
.iti { width: 100%; display: block; }
.iti__selected-flag { border-radius: 12px 0 0 12px; }
.card-section-title { font-weight: 800; font-size: 1.02rem; margin-bottom: 12px; }
.table thead th { white-space: nowrap; }
.footer-wrap { margin-top: auto; }
.modal-content { border-radius: 24px; overflow: hidden; }
.profile-photo-lg { width: 160px; height: 160px; object-fit: cover; border-radius: 24px; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.empty-state { padding: 32px; text-align: center; color: #fff; background: rgba(255,255,255,.08); border-radius: 24px; border: 1px dashed rgba(255,255,255,.18); }
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    background: #f8fbff;
    border: 1px solid #d9e7ff;
    border-radius: 14px;
    padding: 10px 14px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .hero-wrap { padding-top: 28px; }
    .hero-card, .filter-card, .form-card, .admin-card { padding: 18px; border-radius: 20px; }
    .brand-title { font-size: 1rem; }
    .guide-card .cover { height: 160px; }
        .checkbox-grid {
        gap: 8px;
    }

    .checkbox-pill {
        white-space: normal;
        justify-content: flex-start;
        padding: 9px 12px;
    }
}
.guide-badge-premium{
    display:inline-flex;
    align-items:center;
    padding:4px 10px;
    border-radius:999px;
    background:linear-gradient(135deg, #f7d774 0%, #e7b93e 100%);
    color:#3d2b00;
    font-size:12px;
    font-weight:700;
    letter-spacing:.2px;
    line-height:1;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}
