/* ===============================
   NAVBAR (COMPACT)
   =============================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 30px;
    height: auto;
}

.logo {
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}
/* BUTTON */
.btn-outline {
    padding: 8px 16px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    transition: background 0.25s ease,
                color 0.25s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline.danger {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-outline.danger:hover {
    background: #ef4444;
    color: #fff;
}
/* LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
}

.nav-links a:not(.btn-outline)::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* TOGGLE (mobile) */
.nav-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 900px) {

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}
