/* 
 * Custom Premium Stylesheet for Federal Neuro-Psychiatric Hospital, Kaduna
 * Brand Colors: Medical Green (#008751) & Gold Accent (#eab308) from Logo
 * Fonts: Poppins (Headings) & Inter (Body Text)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #008751;
    --primary-rgb: 0, 135, 81;
    --primary-dark: #006b3f;
    --primary-light: #e6f3ed;
    --secondary-color: #eab308;
    --secondary-rgb: 234, 179, 8;
    --accent-red: #ef4444;
    --dark-neutral: #0f172a;
    --light-neutral: #f8fafc;
    --border-color: #e2e8f0;
    --text-muted: #64748b;
    --font-headings: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 25px -5px rgba(0, 135, 81, 0.08), 0 10px 10px -5px rgba(0, 135, 81, 0.03);
}

/* Base Reset & Typography */
body {
    font-family: var(--font-body);
    color: var(--dark-neutral);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--dark-neutral);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-dark);
}

/* Custom Selection Color */
::selection {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--dark-neutral);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--secondary-color);
}

.top-bar a {
    color: #e2e8f0;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.top-bar .social-icons a {
    margin-left: 12px;
    font-size: 0.95rem;
}

/* --- MAIN NAVIGATION --- */
.main-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--border-color);
    z-index: 1020;
}

.main-navbar.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

/* Navbar Logo Branding */
.navbar-brand-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin-right: 12px;
    transition: var(--transition-smooth);
}

.main-navbar.sticky-nav .navbar-brand-logo {
    height: 45px;
}

.navbar-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-neutral);
    font-family: var(--font-headings);
}

.navbar-brand-text span {
    font-size: 0.75rem;
    font-weight: 500;
    display: block;
    color: var(--primary-color);
}

/* Nav Links & Custom Underlines */
.navbar-nav .nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark-neutral);
    padding: 24px 8px !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.main-navbar.sticky-nav .navbar-nav .nav-link {
    padding: 16px 8px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown Submenus & Animations */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    display: block;
    transition: var(--transition-smooth);
}

.navbar-nav .dropdown.show>.dropdown-menu,
.navbar-nav .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

@media (min-width: 992px) {

    .navbar-nav .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.navbar-nav .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 10px 20px;
    color: var(--dark-neutral);
    transition: var(--transition-smooth);
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.navbar-nav .dropdown-item.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* --- HERO SLIDER --- */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slider-section .carousel-item {
    height: 75vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider-section .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 30%, rgba(0, 135, 81, 0.3) 100%);
    z-index: 1;
}

.hero-slider-section .carousel-caption {
    z-index: 2;
    text-align: left;
    left: 8%;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    max-width: 650px;
}

.hero-slider-section h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-slider-section p {
    font-size: 1.15rem;
    color: #f1f5f9;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.4s forwards;
}

.hero-slider-section .btn-group {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Slider Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-rgb), 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary-color);
}

/* --- BUTTONS --- */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    font-family: var(--font-headings);
    border: 2px solid var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-secondary-custom {
    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    font-family: var(--font-headings);
    border: 2px solid #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.btn-gold-custom {
    background-color: var(--secondary-color);
    color: var(--dark-neutral);
    font-weight: 600;
    font-family: var(--font-headings);
    border: 2px solid var(--secondary-color);
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.btn-gold-custom:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

/* --- SECTION DECORATION --- */
.section-padding {
    padding: 80px 0;
}

.bg-light-blue {
    background-color: var(--light-neutral);
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    z-index: 2;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 10px auto 0 auto;
}

/* --- WELCOME MD SECTION --- */
.md-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    background-color: #ffffff;
}

.md-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.md-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.md-image-wrapper:hover img {
    transform: scale(1.05);
}

.md-signature-area {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 30px;
}

.md-signature {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 2px;
}

/* --- MISSION / VISION / CORE VALUES --- */
.mvc-card {
    border: none;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 35px 25px;
    transition: var(--transition-smooth);
    height: 100%;
    border-bottom: 4px solid var(--border-color);
}

.mvc-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-bottom-color: var(--primary-color);
}

.mvc-icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.mvc-card:hover .mvc-icon-box {
    background-color: var(--primary-color);
    color: #ffffff;
}

.mvc-values-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mvc-values-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.mvc-values-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary-color);
}

/* --- SERVICES CARD --- */
.service-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    background: #ffffff;
    padding: 30px;
    transition: var(--transition-smooth);
    border-left: 4px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- DEPARTMENTS PANEL (DIRECTORATE) --- */
.dept-tab-nav {
    border-bottom: none;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.dept-tab-link {
    border: 1px solid var(--border-color) !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 600;
    color: var(--dark-neutral) !important;
    background-color: #ffffff !important;
    transition: var(--transition-smooth);
}

.dept-tab-link.active,
.dept-tab-link:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

/* --- STATISTICS COUNTER --- */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    position: relative;
    padding: 60px 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
}

.stat-box {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-title {
    font-size: 1rem;
    font-weight: 500;
    color: #e6f3ed;
}

/* --- NEWS & EVENTS --- */
.news-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    background-color: #ffffff;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-card:hover .news-image-wrapper img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.news-body {
    padding: 25px;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-meta span {
    margin-right: 15px;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-title a {
    color: var(--dark-neutral);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Events Widget Card */
.event-widget-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    background: #ffffff;
    padding: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.event-widget-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.event-date-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    flex-shrink: 0;
}

.event-date-box .day {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-box .month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-widget-card:hover .event-date-box {
    background-color: var(--primary-color);
    color: #ffffff;
}

.event-info h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.event-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.event-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* --- PHOTO GALLERY PREVIEW --- */
.gallery-grid-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    height: 250px;
    margin-bottom: 24px;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 135, 81, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 20px;
}

.gallery-grid-item:hover img {
    transform: scale(1.08);
}

.gallery-grid-item:hover .gallery-grid-overlay {
    opacity: 1;
}

.gallery-grid-overlay h5 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
}

.gallery-grid-overlay p {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.gallery-zoom-btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-neutral);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 40px;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    color: #f1f5f9;
    z-index: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-info h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* --- CALL TO ACTION BANNER --- */
.cta-banner {
    background: linear-gradient(135deg, var(--dark-neutral) 0%, #1e293b 100%);
    color: #ffffff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 135, 81, 0.1);
    border-radius: 50%;
}

/* --- FOOTER --- */
.footer-section {
    background-color: #0b0f19;
    color: #94a3b8;
    padding-top: 80px;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid #1e293b;
}

.footer-logo-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-logo-brand span {
    color: var(--primary-color);
}

.footer-widget-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list li a {
    color: #94a3b8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-newsletter-form .form-control {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.88rem;
}

.footer-newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.footer-newsletter-form button {
    border-radius: 50px;
    margin-top: 10px;
    width: 100%;
}

.footer-bottom {
    padding: 25px 0;
    font-size: 0.85rem;
    border-top: 1px solid #1e293b;
}

/* --- INTERNAL PAGES GENERAL --- */
.page-header-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/slide1.webp') center/cover no-repeat;
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.page-header-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-top: 10px;
}

.breadcrumb-custom a {
    color: var(--secondary-color);
}

/* --- ADMIN PANEL SPECIFIC STYLES --- */
.admin-sidebar {
    background-color: var(--dark-neutral);
    min-height: 100vh;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.admin-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar-header h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0;
}

.admin-sidebar-header span {
    color: var(--primary-color);
    font-size: 0.75rem;
    display: block;
}

.admin-menu-list {
    list-style: none;
    padding: 15px 0;
    margin-bottom: 0;
}

.admin-menu-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    border-left: 4px solid transparent;
}

.admin-menu-item a:hover,
.admin-menu-item.active a {
    color: #ffffff;
    background-color: #1e293b;
    border-left-color: var(--primary-color);
}

.admin-menu-item a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.admin-main-content {
    background-color: #f1f5f9;
    min-height: 100vh;
    padding: 40px;
}

.admin-navbar-top {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 15px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.admin-card-stat {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 25px;
    transition: var(--transition-smooth);
    background: #ffffff;
}

.admin-card-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.admin-card-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-primary-soft {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.bg-yellow-soft {
    background-color: #fef9c3;
    color: #ca8a04;
}

.bg-red-soft {
    background-color: #fee2e2;
    color: #dc2626;
}

.bg-blue-soft {
    background-color: #e0f2fe;
    color: #0284c7;
}

/* Custom Table Design */
.admin-table-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    background: #ffffff;
    padding: 30px;
}

.table-custom th {
    background-color: #f8fafc;
    color: var(--dark-neutral);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
    padding: 15px 20px;
}

.table-custom td {
    padding: 15px 20px;
    vertical-align: middle;
    font-size: 0.88rem;
}

/* Form Styles */
.form-custom .form-control,
.form-custom .form-select {
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.form-custom .form-control:focus,
.form-custom .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}

.form-custom label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #475569;
}

/* Auth Login Page */
.admin-login-body {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-neutral) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

/* Image Thumbnails in Tables */
.table-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

/* Active Status Badges */
.badge-active {
    background-color: #dcfce7;
    color: #15803d;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-inactive {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}



/* ==========================================
   MOBILE NAVIGATION
========================================== */

.navbar-toggler {
    border: 1px solid var(--primary-color);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,135,81,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {

    .top-bar {
        display: none !important;
    }

    .navbar-brand-logo {
        height: 45px;
    }

    .navbar-brand-text {
        font-size: .85rem;
    }

    .navbar-brand-text span {
        display: none;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {

        padding: 10px 15px !important;

        border-bottom: 1px solid #e2e8f0;

        text-transform: none;

        font-size: .88rem;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        position: static !important;
        width: 100%;
        border-top: none;
        border-left: 3px solid var(--primary-color);
        box-shadow: none;
        margin-top: 5px;
        margin-left: 10px;
        background: #f8fafc;
    }

    .dropdown.show > .dropdown-menu,
    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        padding: 8px 15px;
        white-space: normal;
        font-size: 0.85rem;
    }

}