﻿/* ==============================
   GLOBAL BASE
================================ */
body {
    background-color: #f4f6f9;
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ==============================
   NAVBAR
================================ */
.navbar {
    background-color: #ffffff !important;
    padding: 12px 20px;
}

.navbar-brand {
    font-weight: 600;
    font-size: 20px;
    color: #0d6efd !important;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-size: 15px;
    margin-right: 10px;
    transition: color 0.2s ease-in-out;
}

    .navbar-nav .nav-link:hover {
        color: #0d6efd !important;
    }

/* ==============================
   LOGOUT BUTTON
================================ */
.navbar button {
    background-color: #dc3545;
    border: none;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

    .navbar button:hover {
        background-color: #bb2d3b;
    }

/* ==============================
   PAGE CONTAINER
================================ */
.container {
    max-width: 1300px;
}

main {
    background-color: transparent;
    padding-top: 15px;
}

/* ==============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar button {
        margin-top: 10px;
        width: 100%;
    }
}

/* ==============================
   NAVBAR ACTIVE TAB – FINAL FIX
================================ */

/* Base nav link */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 12px;
    transition: color 0.2s ease-in-out;
}

    /* Active state */
    .navbar-nav .nav-link.active {
        color: #0d6efd !important;
        font-weight: 600;
    }

        /* Underline */
        .navbar-nav .nav-link.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 4px;
            width: 100%;
            height: 3px;
            background-color: #0d6efd;
            border-radius: 3px;
        }

