/* NAVBAR */
.gib-navbar {
    padding: 13px 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, box-shadow .3s ease;
    z-index: 1030;
}

.gib-navbar.gib-light {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: #e9edf3;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .035);
}

.gib-navbar.gib-dark {
    background: rgba(17, 24, 39, .96);
    border-bottom-color: #334155;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .15);
}

/* LOGO */
.gib-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.7px;
    white-space: nowrap;
}

.gib-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: white;
    background: linear-gradient(135deg, #6366f1, #4338ca);
    box-shadow: 0 4px 12px rgba(99, 102, 241, .25);
}

.gib-brand-dot {
    color: #6366f1;
}

.gib-dark .gib-brand {
    color: #f8fafc;
}

.gib-dark .gib-brand-dot {
    color: #a5b4fc;
}

/* LINK */
.gib-nav-links {
    align-items: center;
    gap: 3px;
}

.gib-nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px !important;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 500;
    transition: background .2s ease, color .2s ease;
}

.gib-light .gib-nav-link {
    color: #475569;
}

.gib-light .gib-nav-link:hover {
    color: #4f46e5;
    background: #f1f5ff;
}

.gib-light .gib-nav-link.active {
    color: #4338ca;
    background: #eef2ff;
    font-weight: 700;
}

.gib-dark .gib-nav-link {
    color: #cbd5e1;
}

.gib-dark .gib-nav-link:hover {
    color: #fff;
    background: #334155;
}

.gib-dark .gib-nav-link.active {
    color: #c7d2fe;
    background: rgba(99, 102, 241, .20);
    font-weight: 700;
}

.gib-nav-icon {
    font-size: .82rem;
    opacity: .8;
}

/* DARK MODE */
.gib-mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gib-theme-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.gib-theme-label {
    width: 56px;
    height: 29px;
    border-radius: 30px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    position: relative;
    cursor: pointer;
    margin: 0;
    color: #64748b;
    font-size: 12px;
    transition: background .3s;
}

.gib-theme-ball {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
    transition: transform .25s ease;
}

.gib-theme-switch input:checked + .gib-theme-label {
    background: #4f46e5;
    color: #fff;
}

.gib-theme-switch input:checked + .gib-theme-label .gib-theme-ball {
    transform: translateX(27px);
}

.gib-theme-switch input:focus-visible + .gib-theme-label {
    outline: 2px solid #6366f1;
    outline-offset: 3px;
}

/* HAMBURGER */
.gib-toggler {
    border: none;
    padding: 6px;
    box-shadow: none !important;
}

/* MOBILE */
@media (max-width: 991.98px) {
    .gib-navbar {
        padding: 10px 0;
    }

    .gib-nav-links {
        align-items: stretch;
        padding-top: 15px;
        margin-top: 12px;
        border-top: 1px solid rgba(148, 163, 184, .2);
    }

    .gib-nav-link {
        padding: 12px 14px !important;
        font-size: .95rem;
    }
}

@media (min-width: 992px) {
    .gib-navbar .container-xl {
        flex-wrap: nowrap;
    }

    .gib-mobile-actions {
        order: 3;
        margin-left: 18px;
    }
}