:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.text-primary {
    color: var(--primary-color) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

.dropdown-menu-scroll {
    max-height: 300px;
    overflow-y: auto;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    border-radius: 0 0 15px 15px;
}

.hero-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-indicator.active {
    background: white;
    transform: scale(1.2);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-nav.prev {
    left: 15px;
}

.hero-nav.next {
    right: 15px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.recipe-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.recipe-card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.recipe-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s;
}

.recipe-card:hover .recipe-card-img {
    transform: scale(1.05);
}

.recipe-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.recipe-difficulty {
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-easy {
    background: #27ae60;
    color: white;
}

.difficulty-medium {
    background: #f39c12;
    color: white;
}

.difficulty-hard {
    background: #e74c3c;
    color: white;
}

.recipe-card-body {
    padding: 12px 15px 15px;
}

.recipe-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.recipe-card-time {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: #6c757d;
}

.recipe-card-time span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.recipe-card-time i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.recipe-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
}

.recipe-card .btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

.country-badge {
    background-color: var(--light-bg);
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 20px;
}

.rating-stars {
    color: var(--accent-color);
}

.category-card {
    background: white;
    color: #333;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid transparent;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(231,76,60,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    color: #333;
    border-color: var(--primary-color);
}

.category-card .category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
    transition: all 0.4s;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card.breakfast .category-icon {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: white;
}

.category-card.lunch .category-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.category-card.dinner .category-icon {
    background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
    color: white;
}

.category-card.dessert .category-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
}

.category-card.snacks .category-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.category-card.drinks .category-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.category-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.category-count {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c0392b 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
    box-shadow: 0 3px 10px rgba(231,76,60,0.3);
}

.country-section {
    background: white;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.country-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.country-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.country-flag {
    font-size: 2.8rem;
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.country-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.country-header .text-muted {
    transition: color 0.3s;
}

.country-header .text-muted:hover {
    color: var(--primary-color) !important;
}

.country-section .country-recipes {
    padding: 20px;
}

.country-recipe-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.country-recipe-card:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.country-recipe-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s;
}

.country-recipe-card:hover img {
    transform: scale(1.05);
}

.country-recipe-card .card-body {
    padding: 12px;
}

.country-recipe-card h6 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.sidebar-widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.random-recipe {
    text-align: center;
}

.random-recipe img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.recipe-detail-header {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.recipe-detail-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.recipe-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
}

.recipe-meta-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.recipe-meta-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.recipe-meta-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #dee2e6;
    display: flex;
    align-items: center;
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.ingredient-checkbox {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

.ingredient-checkbox:checked + span {
    text-decoration: line-through;
    color: #6c757d;
}

.instructions-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.instructions-list li {
    position: relative;
    padding: 20px 0 20px 60px;
    border-bottom: 1px solid #dee2e6;
}

.instructions-list li:last-child {
    border-bottom: none;
}

.instructions-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.review-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: var(--secondary-color);
}

.review-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.share-buttons a:hover {
    transform: scale(1.1);
}

.share-facebook { background-color: #3b5998; }
.share-twitter { background-color: #1da1f2; }
.share-whatsapp { background-color: #25d366; }
.share-pinterest { background-color: #bd081c; }

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.favorite-btn {
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.favorite-btn:hover {
    transform: scale(1.2);
}

.favorite-btn.active {
    color: var(--primary-color);
}

.dashboard-sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-menu li {
    margin-bottom: 5px;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background: var(--primary-color);
    color: white;
}

.dashboard-menu a i {
    margin-right: 10px;
    width: 20px;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.dashboard-sidebar .close-menu {
    display: none;
}

.mobile-sidebar {
    display: none;
}

.admin-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.admin-card:hover {
    transform: translateY(-5px);
}

.admin-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.admin-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.pagination .page-link {
    color: var(--primary-color);
    border-radius: 10px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.ad-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: #999;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

@media (max-width: 768px) {
    .hero-slide img {
        height: 250px;
    }
    
    .recipe-card-img {
        height: 150px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .country-flag {
        font-size: 2rem;
    }
    
    .hero-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .category-card {
        padding: 20px 15px;
        min-height: 140px;
    }
    
    .category-card .category-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .category-card h5 {
        font-size: 0.95rem;
    }
    
    .recipe-card-time {
        flex-wrap: wrap;
        gap: 8px;
    }
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5);
    padding: 8px 12px;
    transition: all 0.3s;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--secondary-color);
        margin-top: 15px;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-radius: 8px;
        margin-bottom: 5px;
        transition: background 0.3s;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .navbar-collapse .d-flex {
        flex-direction: column;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .navbar-collapse .input-group {
        width: 100%;
    }
    
    .navbar-collapse .dropdown-menu {
        background: rgba(255,255,255,0.1);
        border: none;
        margin-top: 5px;
    }
    
    .navbar-collapse .dropdown-item {
        color: rgba(255,255,255,0.8);
        padding: 10px 15px;
    }
    
    .navbar-collapse .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }
}

.country-card {
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.country-card:hover::before {
    left: 100%;
}

.country-count {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 8px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    min-width: 250px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #27ae60;
}

.toast-success i {
    color: #27ae60;
}

.toast-error {
    border-left: 4px solid #e74c3c;
}

.toast-error i {
    color: #e74c3c;
}

.toast-info {
    border-left: 4px solid #3498db;
}

.toast-info i {
    color: #3498db;
}

.filter-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #6c757d;
    white-space: nowrap;
}

.serving-adjuster {
    display: flex;
    align-items: center;
}

.serving-adjuster button {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-recipe-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.related-recipe-card:hover {
    transform: translateY(-5px);
}

.related-recipe-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-recipe-card-body {
    padding: 12px;
}

.related-recipe-card h6 {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

@media print {
    .navbar, .sidebar-widget, .share-buttons, .favorite-btn, 
    .back-to-top, .toast-container, .footer, footer,
    .breadcrumb, .btn, .review-card form, .serving-adjuster,
    .ad-placeholder {
        display: none !important;
    }
    
    .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .col-lg-4 {
        display: none !important;
    }
    
    .recipe-detail-img {
        max-height: 300px;
    }
    
    .bg-white {
        box-shadow: none !important;
    }
}

@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-group {
        flex-wrap: wrap;
    }
    
    .filter-group .btn-group {
        flex-wrap: wrap;
    }
}

@media (max-width: 991px) {
    .mobile-sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 10000;
        border-radius: 0;
        margin: 0;
        padding: 20px;
        padding-top: 50px;
        transition: left 0.3s ease;
        overflow-y: auto;
        background: white;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    }
    
    .mobile-sidebar.show {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        position: fixed;
        top: 70px;
        left: 10px;
        z-index: 9998;
        width: 45px;
        height: 45px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        cursor: pointer;
    }
    
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
        display: none;
    }
    
    .mobile-menu-overlay.show {
        display: block;
    }
    
    .mobile-sidebar .close-menu {
        display: block !important;
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #666;
        cursor: pointer;
    }
    
    .admin-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .admin-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .admin-card h3 {
        font-size: 1.5rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .btn-sm {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .col-lg-10 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 60px;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .mobile-sidebar {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .admin-card {
        padding: 12px;
    }
    
    .admin-card i {
        font-size: 1.5rem;
    }
    
    .admin-card h3 {
        font-size: 1.2rem;
    }
    
    .admin-card p {
        font-size: 0.8rem;
    }
    
    .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-lg-10 {
        padding-left: 15px;
    }
    
    .mobile-menu-toggle {
        top: 65px;
        left: 5px;
        width: 40px;
        height: 40px;
    }
}

html {
    scroll-behavior: smooth;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.img-skeleton {
    position: relative;
    overflow: hidden;
}

.img-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    z-index: 1;
}

.img-skeleton.loaded::before {
    display: none;
}

.counter-value {
    display: inline-block;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

body.dark-mode {
    background-color: #1a1a2e;
    color: #eee;
}

body.dark-mode .navbar {
    background-color: #16213e !important;
}

body.dark-mode .bg-white,
body.dark-mode .card,
body.dark-mode .dropdown-menu {
    background-color: #1f2937 !important;
    color: #eee;
}

body.dark-mode .bg-light {
    background-color: #111827 !important;
}

body.dark-mode .text-dark {
    color: #eee !important;
}

body.dark-mode .text-muted {
    color: #9ca3af !important;
}

body.dark-mode .border,
body.dark-mode .border-bottom {
    border-color: #374151 !important;
}

body.dark-mode .form-control {
    background-color: #374151;
    border-color: #4b5563;
    color: #eee;
}

body.dark-mode .form-control:focus {
    background-color: #4b5563;
    color: #fff;
}

body.dark-mode .sidebar-widget,
body.dark-mode .recipe-card,
body.dark-mode .country-card {
    background-color: #1f2937;
}

body.dark-mode .category-card {
    background-color: #1f2937;
    border-color: #374151;
}

body.dark-mode .category-card:hover {
    border-color: var(--primary-color);
}

body.dark-mode .category-card h5 {
    color: #eee;
}

body.dark-mode .recipe-card-body h5,
body.dark-mode .category-card h5,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, 
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #eee;
}

body.dark-mode .btn-outline-primary {
    color: #60a5fa;
    border-color: #60a5fa;
}

body.dark-mode .btn-outline-primary:hover {
    background-color: #60a5fa;
    color: #fff;
}

body.dark-mode footer {
    background-color: #111827 !important;
}

body.dark-mode .skeleton,
body.dark-mode .img-skeleton::before {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
}

body.dark-mode .toast-notification {
    background: #1f2937;
    color: #eee;
}

body.dark-mode .related-recipe-card {
    background: #1f2937;
}

body.dark-mode .country-section {
    background: #1f2937;
    border-color: #374151;
}

body.dark-mode .country-header {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border-bottom-color: #374151;
}

body.dark-mode .country-name {
    color: #eee;
}

body.dark-mode .country-recipe-card {
    background: #111827;
}

body.dark-mode .country-recipe-card:hover {
    background: #374151;
}

body.dark-mode .country-recipe-card h6 {
    color: #eee;
}

body.dark-mode .filter-section {
    border-top-color: #374151;
}
