:root {
    --primary-color: #000000;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #000000;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --card-hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    
    /* Bootstrap Overrides */
    --bs-primary: #000000;
    --bs-danger: #000000;
    --bs-danger-rgb: 0, 0, 0;
    --border: #dee2e6;
}

/* Theme Overrides for Tool Pages */
.btn-danger {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

.text-danger {
    color: #000000 !important;
}

.border-danger {
    border-color: #000000 !important;
}

.btn-outline-danger {
    color: #000000 !important;
    border-color: #000000 !important;
}

.btn-outline-danger:hover, .btn-outline-danger:focus, .btn-outline-danger:active, .btn-outline-danger.active {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.form-control:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25) !important;
}

[data-bs-theme="dark"] {
    --primary-color: #ffffff;
    --danger-color: #ffffff;
    --card-hover-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] body {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

[data-bs-theme="dark"] .btn-danger {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

[data-bs-theme="dark"] .btn-danger:hover {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .text-danger {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .border-danger {
    border-color: #ffffff !important;
}

[data-bs-theme="dark"] .btn-outline-danger {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

[data-bs-theme="dark"] .btn-outline-danger:hover, [data-bs-theme="dark"] .btn-outline-danger:focus {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

/* Force hero and logo icons to have visible white strokes in dark mode */
[data-bs-theme="dark"] .hero .hero-icon svg polygon,
[data-bs-theme="dark"] .hero .hero-icon svg path,
[data-bs-theme="dark"] .logo-icon svg path {
    stroke: #ffffff !important;
    stroke-width: 2.6 !important;
    fill: none !important;
}

/* Base Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /*max-width: 1030px;*/
    margin: auto;
    background-color: #ffffff;
    color: #212529;
}

/* Mobile-specific header tweaks */
@media (max-width: 768px) {
    /* Force hamburger lines to be visible in dark mode */
    .mobile-menu-btn span {
        background: #000000 !important;
    }
    [data-bs-theme="dark"] .mobile-menu-btn span {
        background: #ffffff !important;
    }
    .mobile-menu-btn.active span, .mobile-menu-btn.active span:nth-child(1), .mobile-menu-btn.active span:nth-child(3) {
        background: #ffffff !important;
    }

    /* Ensure the mobile theme toggle is visible and styled */
    .theme-toggle.d-md-none {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #dee2e6;
        color: #1F2937;
        background: none;
    }

    [data-bs-theme="dark"] .theme-toggle.d-md-none {
        border-color: #444 !important;
        color: #ffffff !important;
        background: rgba(255,255,255,0.02);
    }
}

[data-bs-theme="light"] {
    background-color: #ffffff;
    color: #212529;
}

[data-bs-theme="dark"] .card {
    background-color: #1e293b;
    border-color: #334155;
}

[data-bs-theme="dark"] .text-muted {
    color: #aaa !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #1e293b !important;
}

[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-top {
    border-color: #334155 !important;
}

[data-bs-theme="dark"] .tool-container,
[data-bs-theme="dark"] .container {
    background-color: transparent;
}

[data-bs-theme="dark"] .border {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

[data-bs-theme="dark"] .shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(255,255,255,.075) !important;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #1e293b;
    border-color: #2563EB;
    color: #ffffff;
}

[data-bs-theme="dark"] .card-header {
    background-color: #2d2d2d !important;
    border-bottom-color: #444 !important;
}

/* Header & Navigation */
.site-header {
    position: relative;
    z-index: 1030;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
    padding: 0.5rem;
}

/* Navigation Links */
.nav-link {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 2px;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: none;
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #2d2d2d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 2px 8px;
    width: auto;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(230, 57, 71, 0.1);
}

/* Tool Cards */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.card-link:hover {
    transform: translateY(-5px);
}

.tool-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: none;
    height: 230px!important;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,245,245,1) 100%);
}

[data-bs-theme="dark"] .tool-card {
    background: linear-gradient(135deg, rgba(45,45,45,0.9) 0%, rgba(35,35,35,1) 100%);
}

.card-hover-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(230, 57, 71, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(40, 167, 69, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.card-link:hover .card-hover-effects {
    opacity: 1;
}

.tool-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(230, 57, 71, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.card-link:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle-btn {
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .theme-toggle-btn {
    color: var(--primary-color);
}

.theme-toggle-btn:hover {
    background-color: rgba(230, 57, 71, 0.1);
    transform: scale(1.1);
}

/* Theme Icon Animation */
@keyframes rotate-star {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.theme-icon {
    animation: rotate-star 10s linear infinite;
    display: inline-block; /* Ensure transform works */
    transform-origin: center;
    will-change: transform;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--secondary-color);
    color: white;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(230, 57, 71, 0.3);
    background-color: var(--primary-color);
}

/* Search Bar */
#searchBar {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#searchResults {
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] #searchResults {
    background: #2d2d2d;
    border: 1px solid #444;
}

.search-result-item {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

[data-bs-theme="dark"] .search-result-item {
    border-bottom: 1px solid #444;
}

.search-result-item:hover {
    background-color: rgba(230, 57, 71, 0.1);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-loading {
    padding: 1rem;
    text-align: center;
    color: var(--bs-secondary);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0 !important;
    }
    
    .hero-image {
        margin-top: 1.5rem;
    }
    
    #searchBar {
        position: static;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        width: 100%;
        justify-content: right;
        gap: 1rem;
    }
    
    /* Push theme/search buttons to the right */
    .navbar-collapse .d-flex {
        margin-left: auto;
    }
}





/* =================== SHARER =================== */
    .sharer {
	  display: inline-flex;
	  flex-wrap: wrap;
      margin: 5px;
	}
/*============= SHARER - SVG =============*/ 
	.share-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin: 5px;
    }
    
    .fa.fa-share-alt {
		margin-right: 5px;
		color: #00c57b;
	}
	
	.share-text {
		padding: 9px;
	}
    
    .share-button {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: #fff;
      border-radius: 2px;
      transition: background-color 0.3s;
    }
    
    .share-button:hover {
      opacity: 0.8;
    }
    
    .share-button i {
      font-size: 14px;
    }
    
    /* Facebook */
    .share-button.facebook {
      background-color: #3b5998;
      padding: 10px 14px;
    }
    
    /* Twitter */
    .share-button.twitter {
      background-color: #1da1f2;
	  padding: 10px;
    }
    
    /* LinkedIn */
    .share-button.linkedin {
      background-color: #0077b5;
	  padding: 10px;
    }
    
    /* Pinterest */
    .share-button.pinterest {
      background-color: #bd081c;
	  padding: 10px;
    }
    
    /* Instagram */
    .share-button.instagram {
      background-color: #e1306c;
	  padding: 10px;
    }
    
    /* Reddit */
    .share-button.reddit {
      background-color: #ff4500;
	  padding: 10px;
    }
    
    /* WhatsApp */
    .share-button.whatsapp {
      background-color: #25d366;
	  padding: 10px;
    }
    
    /* Telegram */
    .share-button.telegram {
      background-color: #0088cc;
	  padding: 10px;
    }
/*============= SHARER - SVG =============*/

/* ======== SHARER - FontAwesome ======== */
.share-button,
.svg-icon {
    display: inline-block; border-radius: 2px;
}

.share-icon {
    color: #fff;
    padding: 12px 0px;
    font-size: larger;
}

.share-text {
    padding: 12px 3px;
    padding-right: 10px;
}

.share-button {
    margin: 3px 3px;
    border-radius: 2px;
	cursor: pointer;
}

@media only screen and (max-width:500px) {}

.svg-icon svg {
    width: 1em;
    height: 1em;
    margin: 0
}

.svg-icon {
    fill: #fff;
    stroke: none;
    transition: 25ms ease-out;
}

.share-svg {
    fill: #00c57b;
}

.facebook-svg {
    padding: 9px;
    background-color: #3b5998
}

.facebook-svg:hover {
    background-color: #2d4373
}

.twitter-svg {
    padding: 9px;
    background-color: #55acee
}

.twitter-svg:hover {
    background-color: #2795e9
}

.reddit-svg {
    padding: 9px;
    background-color: #ff4500
}

.reddit-svg:hover {
    background-color: #d45324
}

.whatsapp-svg {
    padding: 9px;
    background-color: #25d366
}

.whatsapp-svg:hover {
    background-color: #1da851
}

.telegram-svg {
    padding: 9px;
    background-color: #1394d4
}

.telegram-svg:hover {
    background-color: #016293
}
/* COPY URL */
.link-svg,
.copy-url {
	color:#44475b;
    fill: #44475b;
    padding: 9px;
	background-color: #fff;
    border: 1px solid #44475b;
}

.link-svg:hover,
.copy-url:hover {
    color: #f36333;
	fill: #f36333;
    border: 1px solid #f36333;
}
/* COPY URL */
/* ======== SHARER - FontAwesome ======== */
@media only screen and (max-width:768px) {
    .sharer {
	  font-size: small;
	}
	.share-button {
      font-size: small;
    }
	
}
/* =================== SHARER =================== */




/* Modern Header Styles (Matching Homepage) */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-gray: #F9FAFB;
    --border: #E5E7EB;
    --white: #FFFFFF;
}

.header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

[data-bs-theme="dark"] .logo-icon {
    background: rgba(255,255,255,0.06);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.06);
}

/* Ensure SVG path stroke is white for visibility in dark mode */
[data-bs-theme="dark"] .logo-icon svg path {
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
    fill: none !important;
}

[data-bs-theme="dark"] .header {
    background: #1a1a1a !important;
    border-bottom-color: #444 !important;
}

[data-bs-theme="dark"] .search-input {
    background: #2d2d2d;
    color: #fff;
    border-color: #444;
}

[data-bs-theme="dark"] .search-input::placeholder {
    color: #888;
}

[data-bs-theme="dark"] .nav-link-custom {
    color: #aaa;
}

[data-bs-theme="dark"] .nav-link-custom:hover {
    color: #fff;
}

.search-box {
    flex: 1;
    max-width: 600px;
    margin: 0;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input::placeholder {
    color: var(--text-light);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-shrink: 0;
}

.nav-link-custom {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link-custom:hover {
    color: var(--text-primary);
}

.btn-share {
    background: #3B82F6;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-share:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-explore {
    background: #000;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-explore:hover {
    background: #1F2937;
    transform: translateY(-1px);
}

/* Responsive adjustments for header */
@media (max-width: 768px) {
    .header-nav {
        /* Styles are now in header.php for better control */
    }
    .search-box {
        margin: 0 16px;
    }
}


/* Modern Footer Styles (Matching Homepage) */
.footer {
    background: #000;
    color: white;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .footer {
    background: #0a0a0a;
    border-top-color: #1f2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-logo svg {
    color: #2563EB;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
}

.footer-social-icons a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    transition: all 0.2s;
}

.footer-social-icons a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin: 0;
}

.footer-bottom-links {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}


/* Fix for sidebar overlap */
#toolsSidebar {
    z-index: 1;
    position: relative;
}

/* Search Results Dropdown Styles */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 450px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.search-results-dropdown .list-group {
    margin: 0;
}

.search-results-dropdown .list-group-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #e9ecef;
    background: #ffffff;
    color: #212529;
    text-decoration: none;
    gap: 12px;
    transition: background-color 0.15s ease;
}

.search-results-dropdown .list-group-item:first-child {
    border-radius: 8px 8px 0 0;
}

.search-results-dropdown .list-group-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.search-results-dropdown .list-group-item:hover {
    background-color: #f8f9fa;
}

/* Icon container style */
.search-results-dropdown .bg-light {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa !important;
    border-radius: 6px;
    flex-shrink: 0;
    font-size: 18px;
}

/* Strong mobile header overrides to ensure visibility in dark mode */
@media (max-width: 768px) {
    .mobile-menu-btn {
        color: #000000; /* default line color uses currentColor */
    }

    .mobile-menu-btn span {
        width: 26px !important;
        height: 3px !important;
        border-radius: 3px !important;
        background-color: currentColor !important;
        opacity: 1 !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .mobile-menu-btn.active span,
    .mobile-menu-btn.active span:nth-child(1),
    .mobile-menu-btn.active span:nth-child(3) {
        background-color: #ffffff !important;
    }

    /* Ensure correct colors per theme explicitly */
    [data-bs-theme="light"] .mobile-menu-btn { color: #000000 !important; }
    [data-bs-theme="dark"] .mobile-menu-btn { color: #ffffff !important; }

    /* Mobile theme-toggle visibility and contrast */
    .theme-toggle.d-md-none {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,0.12) !important;
        color: #ffffff !important;
        background: rgba(255,255,255,0.02) !important;
        z-index: 1032 !important;
        position: relative !important;
    }

    [data-bs-theme="light"] .theme-toggle.d-md-none {
        border-color: #dee2e6 !important;
        color: #1F2937 !important;
        background: none !important;
    }

    .theme-toggle.d-md-none svg { stroke: currentColor !important; }
}

/* Text styles */
.search-results-dropdown .fw-medium {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
}

.search-results-dropdown .text-muted {
    font-size: 12px;
    color: #6c757d !important;
}

.search-results-dropdown .text-center {
    padding: 16px;
    color: #6c757d;
    font-size: 13px;
}

/* Dark mode */
[data-bs-theme="dark"] .search-results-dropdown {
    background: #2d2d2d;
    border-color: #444;
}

[data-bs-theme="dark"] .search-results-dropdown .list-group-item {
    background: #2d2d2d;
    color: #e9ecef;
    border-bottom-color: #444;
}

[data-bs-theme="dark"] .search-results-dropdown .list-group-item:hover {
    background-color: #3a3a3a;
}

[data-bs-theme="dark"] .search-results-dropdown .bg-light {
    background-color: #3a3a3a !important;
}

[data-bs-theme="dark"] .search-results-dropdown .fw-medium,
[data-bs-theme="dark"] .search-results-dropdown .text-dark {
    color: #e9ecef !important;
}

[data-bs-theme="dark"] .search-results-dropdown .text-muted {
    color: #adb5bd !important;
}

