/* =========================
   DARK THEME NAVBAR
   (Matches Footer Theme)
========================= */

/* Brand + Links */
.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    color: #e9ecef !important;
    /* soft white */
    font-weight: 500;
}

/* Hover */
.navbar-dark .nav-link:hover {
    color: #adb5bd !important;
    /* footer link hover */
}

/* Active link */
.navbar-dark .nav-link.active {
    color: #ffffff !important;
    border-bottom: 2px solid #0d6efd;
    /* subtle active indicator */
}

/* Disabled */
.navbar-dark .nav-link.disabled {
    color: #6c757d !important;
}

/* Dropdown */
.navbar-dark .dropdown-menu {
    background-color: #212529;
    /* same as footer bg */
    border: 1px solid #343a40;
}

.navbar-dark .dropdown-item {
    color: #adb5bd;
}

.navbar-dark .dropdown-item:hover {
    background-color: #343a40;
    color: #ffffff;
}

/* Search input in navbar */
.navbar-dark .form-control {
    background-color: #212529;
    border: 1px solid #343a40;
    color: #ffffff;
}

.navbar-dark .form-control::placeholder {
    color: #6c757d;
}

.navbar-dark .form-control:focus {
    background-color: #212529;
    color: #ffffff;
    border-color: #0d6efd;
    box-shadow: none;
}

/* Search button */
.navbar-dark .btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

.navbar-dark .btn-outline-warning:hover {
    background-color: #ffc107;
    color: #000;
}

/* =========================
   FOOTER LINK STYLE
========================= */

.footer-link {
    position: relative;
    display: inline-block;
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

/* Animated underline */
.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    transition: width 0.35s ease;
}

/* Hover effect */
.footer-link:hover {
    color: #ffffff;
}

.footer-link:hover::after {
    width: 100%;
}

/* Active (optional) */
.footer-link.active {
    color: #ffffff;
}

.footer-link.active::after {
    width: 100%;
}

/* live badge */
.live-badge {
    display: inline-block;
    padding: 6px 8px;
    background: #dc3545;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 3px;
    border-radius: 6px;
    white-space: nowrap;

    box-shadow: 0 0 0 0 rgba(220, 53, 69, .6);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, .6);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
