/* IndepWeb - Styles Complets v12 - Responsive Fix + Language Selector */

/* ==================== VARIABLES ==================== */
:root {
    --primary: #2A7CFA;
    --primary-dark: #0545A8;
    --primary-light: #E8F0FE;
    --secondary: #1E293B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* Firefox */
* { scrollbar-width: thin; scrollbar-color: var(--primary) var(--gray-100); }

/* ==================== RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-family); 
    font-size: 14px; 
    line-height: 1.6; 
    color: var(--gray-800); 
    background: #fff; 
    overflow-x: hidden;
    min-width: 320px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ==================== UTILITIES ==================== */
.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 16px; 
    width: 100%;
}

/* Desktop only - visible on screens >= 1024px */
.desktop-only { display: none !important; }
@media (min-width: 1024px) { .desktop-only { display: inline-flex !important; } }

/* Mobile dropdown only - visible in dropdown on mobile, hidden on desktop */
.mobile-dropdown-only { display: flex; }
@media (min-width: 1024px) { .mobile-dropdown-only { display: none !important; } }

/* Hide on mobile */
.hide-on-mobile { display: block; }
@media (max-width: 767px) { .hide-on-mobile { display: none !important; } }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-dark-outline { background: transparent; border: 2px solid var(--secondary); color: var(--secondary); }
.btn-dark-outline:hover { background: var(--secondary); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); color: #fff; }

/* ==================== TOP BANNER ==================== */
.top-banner {
    background: linear-gradient(90deg, #2A7CFA 0%, #0545A8 100%);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
}
.top-banner p { margin: 0; }

/* ==================== HEADER ==================== */
.header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}
.header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    flex-shrink: 0;
}
.logo-icon { width: 32px; height: 32px; border-radius: 50%; }
.logo-text { display: none; }
@media (min-width: 640px) { .logo-text { display: block; } }

.search-bar {
    flex: 1;
    min-width: 0;
    display: flex;
    background: var(--gray-100);
    border-radius: 50px;
    overflow: hidden;
}
.search-bar input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
}
.search-btn {
    padding: 10px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .header-actions {
        flex-direction: row;
        gap: 6px;
    }
    .header-actions .btn {
        font-size: 12px;
        padding: 6px 10px;
    }
}
@media (min-width: 768px) { .header-actions { gap: 12px; } }

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}
.icon-btn:hover { background: var(--gray-200); }
.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.user-menu-wrapper { position: relative; flex-shrink: 0; }
.user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: var(--gray-100);
    border-radius: 50px;
}
.user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.user-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}
.chevron { color: var(--gray-500); }

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    min-width: 260px;
    padding: 8px 0;
    display: none;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateY(-10px);
    overflow: visible;
    max-height: none;
}
.user-dropdown.show { 
    display: block !important; 
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0);
}

/* ===== DROPDOWN SUBMENU ===== */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.submenu-arrow {
    font-size: 14px;
    color: var(--gray-400);
    transition: transform 0.2s;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}
.submenu-arrow:hover {
    background: var(--gray-100);
}
.dropdown-submenu.open .submenu-arrow {
    transform: rotate(90deg);
}
.dropdown-submenu-content {
    display: none;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin: 4px 8px;
    padding: 4px 0;
}
.dropdown-submenu.open .dropdown-submenu-content {
    display: block;
}
.dropdown-submenu-content .dropdown-item {
    padding: 8px 16px;
    font-size: 13px;
}
.dropdown-submenu-content .dropdown-item:hover {
    background: var(--gray-100);
}

/* ===== DROPDOWN SELECTOR GROUP (Language + Currency) ===== */
.dropdown-selector-group {
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}
.selector-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.selector-row:last-child {
    margin-bottom: 0;
}
.selector-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.selector-toggle {
    display: flex;
    background: #fff;
    border-radius: 50px;
    padding: 2px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}
.selector-btn {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.selector-btn:hover {
    color: var(--primary);
}
.selector-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 6px rgba(42, 124, 250, 0.3);
}
.currency-toggle .selector-btn {
    padding: 5px 10px;
    min-width: 36px;
    text-align: center;
}

/* Dropdown badge for messages */
.dropdown-badge {
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-700);
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
a.dropdown-item {
    pointer-events: auto !important;
}
.dropdown-item:hover { background: var(--gray-50); }
.dropdown-item.highlight-item {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}
.dropdown-item.highlight-item:hover {
    background: var(--primary);
    color: white;
}
.dropdown-icon { font-size: 16px; }
.dropdown-icon-img { width: 18px; height: 18px; object-fit: contain; }
.dropdown-divider { height: 1px; background: var(--gray-200); margin: 8px 0; }
.points-item { color: var(--warning); font-weight: 600; }
.boost-item { color: #8B5CF6; font-weight: 500; }
.boost-item:hover { background: #F3E8FF; }
.logout-item { color: var(--danger); }

/* Fix z-index et clics pour mobile */
@media (max-width: 1023px) {
    .header {
        z-index: 10000;
    }
    .user-menu-wrapper {
        position: relative;
        z-index: 10001;
    }
    .user-dropdown {
        position: fixed;
        top: 55px;
        right: 8px;
        left: auto;
        width: 280px;
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 100000;
    }
    .user-dropdown .dropdown-item {
        padding: 14px 16px;
        min-height: 48px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    .user-dropdown a.dropdown-item {
        pointer-events: auto !important;
        touch-action: manipulation;
    }
    .dropdown-submenu-content .dropdown-item {
        padding: 12px 16px;
        min-height: 44px;
    }
}

/* Modal message desktop: max-width 50% */
.message-modal-content,
.contact-freelancer-modal .modal-content {
    max-width: 50%;
    width: 50%;
}
@media (max-width: 768px) {
    .message-modal-content,
    .contact-freelancer-modal .modal-content {
        max-width: 95%;
        width: 95%;
    }
}

.header-btn { padding: 10px 20px; font-size: 13px; }

/* ==================== HERO SECTION ==================== */
.hero-section {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
}
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}
@media (min-width: 1024px) {
    .hero-content { flex-direction: row; text-align: left; gap: 60px; }
    .hero-text { flex: 1; }
    .hero-image { flex: 1; }
}
.hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 24px;
}
@media (min-width: 768px) { .hero-title { font-size: 36px; } }
@media (min-width: 1024px) { .hero-title { font-size: 48px; } }

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
@media (min-width: 1024px) { .hero-actions { justify-content: flex-start; } }

/* Responsive buttons on mobile */
@media (max-width: 480px) {
    .hero-actions .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

.independants-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}
@media (min-width: 1024px) { .independants-badge { justify-content: flex-start; } }
.avatars-stack { display: flex; }
.avatars-stack .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    overflow: hidden;
}
.avatars-stack .avatar:first-child { margin-left: 0; }
.avatars-stack .avatar img { width: 100%; height: 100%; object-fit: cover; }
.independants-info strong { display: block; color: var(--secondary); font-weight: 600; font-size: 14px; }
.independants-info span { font-size: 12px; color: var(--gray-500); }
.hero-image img { max-width: 100%; height: auto; }
@media (min-width: 1024px) { .hero-image img { max-width: 450px; } }
@media (max-width: 1023px) { .hero-image { order: -1; } .hero-image img { max-width: 280px; } }
/* Hide hero image on mobile */
@media (max-width: 767px) { .hero-image { display: none; } }

/* ==================== CATEGORIES SECTION ==================== */
.categories-section { 
    padding: 32px 0; 
    overflow: hidden; 
}
.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray-100);
}
.categories-scroll::-webkit-scrollbar { height: 6px; }
.categories-scroll::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 3px; }
.categories-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

.category-card {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 16px 12px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
@media (min-width: 480px) {
    .category-card { min-width: 140px; padding: 20px 16px; }
}
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.category-icon { font-size: 24px; margin-bottom: 10px; }
@media (min-width: 480px) { .category-icon { font-size: 28px; } }
.category-card p { font-size: 11px; color: var(--gray-700); font-weight: 500; }
@media (min-width: 480px) { .category-card p { font-size: 12px; } }

/* ==================== SERVICES SECTION ==================== */
.services-section { padding: 48px 0; background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 32px; }
.section-title { font-size: 22px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
@media (min-width: 768px) { .section-title { font-size: 28px; } }
.section-subtitle { color: var(--gray-600); max-width: 600px; margin: 0 auto; font-size: 14px; }

.filter-tabs {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray-100);
}
.filter-tabs::-webkit-scrollbar { height: 4px; }
.filter-tabs::-webkit-scrollbar-track { background: var(--gray-100); }
.filter-tabs::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.filter-tab {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.filter-tab:hover, .filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 480px) { .services-grid { gap: 16px; } }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.service-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}
@media (min-width: 480px) { .service-card { padding: 20px; } }
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.service-icon { font-size: 28px; margin-bottom: 12px; }
@media (min-width: 480px) { .service-icon { font-size: 32px; } }
.service-title { font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
@media (min-width: 480px) { .service-title { font-size: 14px; } }
.service-count { font-size: 10px; color: var(--gray-500); }
@media (min-width: 480px) { .service-count { font-size: 11px; } }

/* ==================== FREELANCERS SECTION ==================== */
.independants-section { padding: 48px 0; }
.independants-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
    .independants-header { flex-direction: row; justify-content: space-between; align-items: center; }
}
.independants-header h2 { font-size: 22px; font-weight: 700; color: var(--secondary); }
@media (min-width: 768px) { .independants-header h2 { font-size: 24px; } }
.independants-header p { color: var(--gray-600); margin-top: 4px; font-size: 14px; }

.independants-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 480px) { .independants-grid-new { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .independants-grid-new { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.independant-card-new {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s;
}
.independant-card-new:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.independant-image { position: relative; height: 140px; overflow: hidden; }
@media (min-width: 480px) { .independant-image { height: 160px; } }
.independant-image img { width: 100%; height: 100%; object-fit: cover; }
.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    font-size: 16px;
}
.independant-body { padding: 14px; }
@media (min-width: 480px) { .independant-body { padding: 16px; } }
.independant-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
@media (min-width: 480px) { .author-avatar { width: 40px; height: 40px; } }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 600; color: var(--secondary); display: flex; align-items: center; gap: 4px; font-size: 13px; }
@media (min-width: 480px) { .author-name { font-size: 14px; } }
.verified-badge { height: 20px; width: 20px; object-fit: contain; }
@media (max-width: 767px) { .verified-badge { height: 16px; width: 16px; } }

/* Badge dans les filtres */
.filter-badge-icon {
    height: 20px;
    width: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}
.author-rating { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .author-rating { font-size: 12px; } }
.author-rating .star { color: #FBBF24; }
.country-flag-small { font-size: 12px; margin-left: 4px; }
.independant-service-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 480px) { .independant-service-title { font-size: 13px; } }
.independant-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.independant-tag {
    padding: 3px 8px;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 9px;
    color: var(--gray-600);
}
@media (min-width: 480px) { .independant-tag { font-size: 10px; } }
.independant-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}
.independant-price { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .independant-price { font-size: 12px; } }
.independant-price strong { display: block; font-size: 14px; color: var(--secondary); }
@media (min-width: 480px) { .independant-price strong { font-size: 16px; } }
.choose-btn {
    padding: 8px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    font-size: 11px;
}
@media (min-width: 480px) { .choose-btn { padding: 8px 16px; font-size: 12px; } }
.choose-btn:hover { background: var(--primary-dark); }

/* ==================== PRICING SECTION ==================== */
.pricing-section { padding: 48px 0; background: var(--gray-50); }
.pricing-header { text-align: center; margin-bottom: 40px; }
.pricing-header h2 { font-size: 22px; font-weight: 700; color: var(--secondary); }
@media (min-width: 768px) { .pricing-header h2 { font-size: 24px; } }
.pricing-header p { color: var(--gray-600); margin-top: 8px; }
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}
@media (min-width: 480px) { .pricing-card { padding: 28px; } }
.pricing-card.featured { border: 2px solid var(--primary); }
@media (min-width: 768px) { .pricing-card.featured { transform: scale(1.05); } }
.pricing-icon { font-size: 32px; margin-bottom: 12px; }
@media (min-width: 480px) { .pricing-icon { font-size: 36px; } }
.pricing-badge-icon { height: 48px; width: auto; }
@media (min-width: 480px) { .pricing-badge-icon { height: 56px; } }
.pricing-feature-badge { height: 16px; width: auto; vertical-align: middle; margin-right: 4px; }
.pricing-name { font-size: 16px; font-weight: 600; color: var(--secondary); margin-bottom: 8px; }
@media (min-width: 480px) { .pricing-name { font-size: 18px; } }
.pricing-price { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
@media (min-width: 480px) { .pricing-price { font-size: 28px; } }
.pricing-price span { font-size: 12px; font-weight: 400; color: var(--gray-500); }
.pricing-description { font-size: 12px; color: var(--gray-600); margin-bottom: 20px; }
@media (min-width: 480px) { .pricing-description { font-size: 13px; } }
.pricing-features { text-align: left; margin-top: 20px; }
.pricing-feature { padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 12px; color: var(--gray-600); }
@media (min-width: 480px) { .pricing-feature { font-size: 13px; } }
.pricing-feature:last-child { border-bottom: none; }

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section { padding: 48px 0; }
.testimonials-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
    .testimonials-header { flex-direction: row; justify-content: space-between; align-items: center; }
}
.testimonials-header h2 { font-size: 22px; font-weight: 700; color: var(--secondary); }
@media (min-width: 768px) { .testimonials-header h2 { font-size: 24px; } }
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.testimonial-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
}
@media (min-width: 480px) { .testimonial-card { padding: 24px; } }
.testimonial-card .stars { color: #FBBF24; font-size: 16px; margin-bottom: 12px; }
.testimonial-text { font-size: 13px; color: var(--gray-700); line-height: 1.6; margin-bottom: 20px; }
@media (min-width: 480px) { .testimonial-text { font-size: 14px; } }
.testimonial-author { display: flex; justify-content: space-between; align-items: center; }
.testimonial-author .author-info { display: flex; align-items: center; gap: 12px; }
.testimonial-author .author-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
@media (min-width: 480px) { .testimonial-author .author-avatar { width: 44px; height: 44px; } }
.testimonial-author .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author .author-name { font-weight: 600; color: var(--secondary); font-size: 13px; }
@media (min-width: 480px) { .testimonial-author .author-name { font-size: 14px; } }
.testimonial-author .author-role { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .testimonial-author .author-role { font-size: 12px; } }
.quote-icon { font-size: 32px; color: var(--gray-200); }
@media (min-width: 480px) { .quote-icon { font-size: 40px; } }

/* ==================== PARTNERS SECTION ==================== */
.partners-section { padding: 32px 0; border-top: 1px solid var(--gray-200); }
.partners-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
@media (min-width: 480px) { .partners-grid { gap: 40px; } }
.partner-logo { font-size: 14px; color: var(--gray-400); font-weight: 600; }
@media (min-width: 480px) { .partner-logo { font-size: 16px; } }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--secondary);
    color: #fff;
    padding: 40px 0 24px;
}
@media (min-width: 768px) { .footer { padding: 48px 0 24px; } }
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
}
@media (min-width: 480px) { .footer-content { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-content { grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; } }

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: #fff; }
/* Footer logo - display without constraints to avoid squashing */
.footer-logo-img {
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
}
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 12px; line-height: 1.6; margin-bottom: 20px; }
@media (min-width: 480px) { .footer-brand p { font-size: 13px; } }

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
@media (min-width: 480px) { .footer-social { gap: 12px; } }
.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: all 0.2s;
}
@media (min-width: 480px) { .social-link { width: 36px; height: 36px; } }
.social-link:hover { background: var(--primary); color: #fff; }
.social-link svg { width: 16px; height: 16px; }
@media (min-width: 480px) { .social-link svg { width: 18px; height: 18px; } }

.footer-links h4 { font-size: 12px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
@media (min-width: 480px) { .footer-links h4 { font-size: 13px; margin-bottom: 16px; } }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
@media (min-width: 480px) { .footer-links li { margin-bottom: 10px; } }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 12px; transition: color 0.2s; }
@media (min-width: 480px) { .footer-links a { font-size: 13px; } }
.footer-links a:hover { color: #fff; }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 11px; }
@media (min-width: 480px) { .footer-bottom p { font-size: 12px; } }

/* ==================== MODALS ==================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal.show { opacity: 1; visibility: visible; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}
.modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s;
    width: 100%;
}
@media (min-width: 480px) { .modal-content { padding: 24px; } }
.modal.active .modal-content { transform: translateY(0); }
.modal.show .modal-content { transform: translateY(0); }
.modal-sm { max-width: 400px; }
.modal-md { max-width: 520px; }
.modal-lg { max-width: 680px; }
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-500);
}
.modal-close:hover { background: var(--gray-200); }
.modal-header { text-align: center; margin-bottom: 20px; }

/* reCAPTCHA dans les modals */
.modal .recaptcha-container { 
    display: flex !important; 
    justify-content: center; 
    margin: 16px 0;
    min-height: 78px;
    overflow: visible;
}
.modal .g-recaptcha { 
    display: block !important;
    visibility: visible !important;
}
/* Scale reCAPTCHA pour petits écrans */
@media (max-width: 360px) {
    .modal .g-recaptcha { 
        transform: scale(0.85);
        transform-origin: center;
    }
}

.modal-logo { width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; }
@media (min-width: 480px) { .modal-logo { width: 44px; height: 44px; } }
.modal-header h2 { font-size: 18px; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
@media (min-width: 480px) { .modal-header h2 { font-size: 20px; } }
.modal-header p { color: var(--gray-500); font-size: 12px; }
@media (min-width: 480px) { .modal-header p { font-size: 13px; } }
.step-indicator { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.step-indicator .step { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); }
.step-indicator .step.active { background: var(--primary); }
.step-indicator .step.completed { background: var(--success); }

/* Auth Forms */
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: block; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; font-size: 12px; }
@media (min-width: 480px) { .auth-form label { font-size: 13px; } }
.auth-form input, .auth-form select, .auth-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    transition: border-color 0.2s;
}
@media (min-width: 480px) { .auth-form input, .auth-form select, .auth-form textarea { padding: 12px 14px; } }
.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-footer { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray-600); cursor: pointer; }
@media (min-width: 480px) { .checkbox-label { font-size: 12px; } }
.forgot-link { font-size: 11px; color: var(--primary); }
@media (min-width: 480px) { .forgot-link { font-size: 12px; } }
.form-error { background: #FEE2E2; color: var(--danger); padding: 10px; border-radius: var(--radius); margin-bottom: 12px; font-size: 12px; }
@media (min-width: 480px) { .form-error { font-size: 13px; } }
.social-login { text-align: center; margin-top: 20px; }
.social-login p { color: var(--gray-500); font-size: 11px; margin-bottom: 12px; }
@media (min-width: 480px) { .social-login p { font-size: 12px; } }
.social-buttons { display: flex; justify-content: center; gap: 10px; }
.social-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; }
.social-btn img { width: 18px; height: 18px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 12px; color: var(--gray-600); }
@media (min-width: 480px) { .auth-switch { font-size: 13px; } }
.auth-switch a { color: var(--primary); font-weight: 500; }

/* Register Steps */
.register-step, .publish-step { display: none; }
.register-step.active, .publish-step.active { display: block; }
.step-title { font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 16px; }
@media (min-width: 480px) { .step-title { font-size: 14px; } }
.profile-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
@media (min-width: 480px) { .profile-choice { gap: 12px; } }
.profile-card {
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
@media (min-width: 480px) { .profile-card { padding: 20px; } }
.profile-card:hover, .profile-card.selected { border-color: var(--primary); background: var(--primary-light); }
.profile-icon { font-size: 28px; margin-bottom: 10px; }
@media (min-width: 480px) { .profile-icon { font-size: 32px; } }
.profile-card h4 { font-weight: 600; color: var(--secondary); margin-bottom: 4px; font-size: 13px; }
@media (min-width: 480px) { .profile-card h4 { font-size: 14px; } }
.profile-card p { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .profile-card p { font-size: 12px; } }
.social-login-large { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.social-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--gray-700);
    font-size: 12px;
}
@media (min-width: 480px) { .social-btn-large { font-size: 13px; } }
.social-btn-large img { width: 18px; height: 18px; }
.divider { text-align: center; margin: 20px 0; color: var(--gray-400); font-size: 11px; position: relative; }
@media (min-width: 480px) { .divider { font-size: 12px; } }
.divider::before, .divider::after { content: ''; position: absolute; top: 50%; width: 35%; height: 1px; background: var(--gray-200); }
.divider::before { left: 0; }
.divider::after { right: 0; }
.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 12px;
}
@media (min-width: 480px) { .radio-option { padding: 14px; font-size: 13px; } }
.radio-option.selected { border-color: var(--primary); background: var(--primary-light); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.step-actions .btn { flex: 1; }

/* Publish Modal */
.search-category { margin-bottom: 16px; }
.search-category input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
}
@media (min-width: 480px) { .search-category input { padding: 12px 14px; } }
.categories-grid-modal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    max-height: 280px;
    overflow-y: auto;
}
@media (min-width: 480px) { .categories-grid-modal { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.category-tile {
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
@media (min-width: 480px) { .category-tile { padding: 14px; } }
.category-tile:hover, .category-tile.selected { border-color: var(--primary); background: var(--primary-light); }
.category-tile .icon { font-size: 18px; display: block; margin-bottom: 6px; }
@media (min-width: 480px) { .category-tile .icon { font-size: 20px; } }
.category-tile span:last-child { font-size: 10px; color: var(--gray-700); }
@media (min-width: 480px) { .category-tile span:last-child { font-size: 11px; } }
.upload-zone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
}
@media (min-width: 480px) { .upload-zone { padding: 32px; } }
.upload-zone:hover { border-color: var(--primary); background: var(--primary-light); }
.upload-icon { font-size: 28px; margin-bottom: 10px; }
@media (min-width: 480px) { .upload-icon { font-size: 32px; } }
.upload-link { color: var(--primary); text-decoration: underline; }
.upload-hint { display: block; margin-top: 6px; font-size: 10px; color: var(--gray-400); }
@media (min-width: 480px) { .upload-hint { font-size: 11px; } }
.promo-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.promo-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); cursor: pointer; }
@media (min-width: 480px) { .promo-option { padding: 14px; } }
.promo-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.promo-content { display: flex; gap: 10px; }
.promo-icon { font-size: 18px; }
@media (min-width: 480px) { .promo-icon { font-size: 20px; } }
.promo-info strong { display: block; margin-bottom: 2px; font-size: 12px; }
@media (min-width: 480px) { .promo-info strong { font-size: 13px; } }
.promo-info p { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .promo-info p { font-size: 12px; } }
.recap-text { padding: 12px; background: var(--gray-50); border-radius: var(--radius); font-size: 12px; color: var(--gray-600); }
@media (min-width: 480px) { .recap-text { padding: 14px; font-size: 13px; } }

/* Country Modal */
.country-modal-icon { font-size: 36px; margin-bottom: 12px; }
@media (min-width: 480px) { .country-modal-icon { font-size: 40px; } }
.search-country { margin-bottom: 12px; }
.search-country input { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 13px; }
.countries-list { max-height: 260px; overflow-y: auto; }
.country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
}
.country-item:hover { background: var(--gray-50); }
.country-item .flag { font-size: 20px; }
.country-item .name { flex: 1; font-weight: 500; font-size: 13px; }
.country-item .code { color: var(--gray-400); font-size: 12px; }

/* Notifications Modal */
.modal-notifications { padding: 0; }
.notifications-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--gray-200); }
.notifications-header h3 { font-size: 13px; font-weight: 600; }
@media (min-width: 480px) { .notifications-header h3 { font-size: 14px; } }
.mark-all-read { font-size: 11px; color: var(--primary); background: none; border: none; cursor: pointer; }
@media (min-width: 480px) { .mark-all-read { font-size: 12px; } }
.notifications-list { max-height: 320px; overflow-y: auto; }
.notification-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); }
@media (min-width: 480px) { .notification-item { padding: 14px 16px; } }
.notification-item.unread { background: var(--primary-light); }
.notification-icon { font-size: 16px; }
@media (min-width: 480px) { .notification-icon { font-size: 18px; } }
.notification-content p { font-size: 12px; color: var(--gray-700); margin-bottom: 2px; }
@media (min-width: 480px) { .notification-content p { font-size: 13px; } }
.notification-time { font-size: 10px; color: var(--gray-400); }
@media (min-width: 480px) { .notification-time { font-size: 11px; } }

/* ==================== FILTER PAGE ==================== */
.categories-bar { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 12px 0; position: sticky; top: 60px; z-index: 90; overflow: hidden; }
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 12px;
    color: var(--gray-600);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
@media (min-width: 480px) { .category-chip { padding: 8px 16px; font-size: 13px; } }
.category-chip:hover, .category-chip.active { background: var(--primary); color: #fff; }
.filter-bar { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 12px 0; }
.filter-bar-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.results-count { font-size: 13px; color: var(--gray-600); }
@media (min-width: 480px) { .results-count { font-size: 14px; } }
.results-count span { font-weight: 700; color: var(--secondary); }
.filter-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (min-width: 480px) { .filter-actions { gap: 12px; } }
.filter-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--gray-100); border-radius: var(--radius); font-size: 12px; }
@media (min-width: 480px) { .filter-btn { padding: 8px 16px; font-size: 13px; } }
.toggle-type { display: flex; background: var(--gray-100); border-radius: var(--radius); overflow: hidden; }
.toggle-type a, .toggle-type button { padding: 8px 14px; font-size: 12px; color: var(--gray-600); }
@media (min-width: 480px) { .toggle-type a, .toggle-type button { padding: 8px 16px; font-size: 13px; } }
.toggle-type a.active, .toggle-type button.active { background: var(--primary); color: #fff; }
.sort-select { padding: 8px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 12px; }
@media (min-width: 480px) { .sort-select { font-size: 13px; } }
.main-content { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px 0; }
@media (min-width: 1024px) { .main-content { grid-template-columns: 260px 1fr; } }

.filters-sidebar {
    display: none;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 140px;
}
@media (min-width: 1024px) { .filters-sidebar { display: block; } }
.filter-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-section h4 { font-size: 12px; font-weight: 600; color: var(--secondary); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
@media (min-width: 480px) { .filter-section h4 { font-size: 13px; } }
.filter-option { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.filter-option input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.filter-option label { font-size: 12px; color: var(--gray-600); cursor: pointer; }
@media (min-width: 480px) { .filter-option label { font-size: 13px; } }
.filter-option .count { margin-left: auto; font-size: 10px; color: var(--gray-400); }
@media (min-width: 480px) { .filter-option .count { font-size: 11px; } }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 70px; padding: 8px; border: 1px solid var(--gray-200); border-radius: var(--radius); text-align: center; font-size: 12px; }
@media (min-width: 480px) { .price-range input { width: 80px; font-size: 13px; } }
.rating-filter { display: flex; gap: 6px; }
.rating-btn { padding: 6px 10px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 11px; }
@media (min-width: 480px) { .rating-btn { padding: 6px 12px; font-size: 12px; } }
.rating-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.delivery-options { display: flex; flex-direction: column; gap: 6px; }
.filter-actions-bottom { display: flex; gap: 10px; margin-top: 12px; }

.services-content { flex: 1; min-width: 0; }
.services-content .services-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .services-content .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .services-content .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* Services Page Layout */
.services-page {
    background: var(--gray-50);
    padding: 24px 0 60px;
    min-height: calc(100vh - 200px);
}
.services-layout {
    display: flex;
    gap: 24px;
    position: relative;
}
.services-layout .filters-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
    z-index: 10;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.services-layout .services-main {
    flex: 1;
    min-width: 0;
}
@media (max-width: 1023px) {
    .services-layout {
        flex-direction: column;
    }
    .services-layout .filters-sidebar {
        display: none;
        width: 100%;
        max-width: none;
    }
    .services-layout .filters-sidebar.desktop-only {
        display: none !important;
    }
    .services-layout .services-main {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .services-page {
        padding: 16px 0 40px;
    }
    .services-layout .services-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .services-layout .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .services-layout .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.mobile-only {
    display: inline-flex;
}
@media (min-width: 1024px) {
    .mobile-only {
        display: none !important;
    }
}
.desktop-only {
    display: none;
}
@media (min-width: 1024px) {
    .desktop-only {
        display: block;
    }
}

/* Results header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.results-count {
    font-size: 14px;
    color: var(--gray-600);
}
.results-count strong {
    color: var(--secondary);
}
.results-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card .service-image { position: relative; height: 120px; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
@media (min-width: 480px) { .service-card .service-image { height: 140px; } }
.service-card .service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 14px; text-align: left; }
@media (min-width: 480px) { .service-body { padding: 16px; } }
.service-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.service-tag { padding: 3px 8px; background: var(--gray-100); border-radius: 50px; font-size: 9px; color: var(--gray-600); }
@media (min-width: 480px) { .service-tag { font-size: 10px; } }
.service-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.service-price { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .service-price { font-size: 12px; } }
.service-price strong { display: block; font-size: 14px; color: var(--secondary); }
@media (min-width: 480px) { .service-price strong { font-size: 16px; } }
.price-level { display: flex; gap: 2px; margin-top: 2px; }
.price-level span { font-size: 9px; color: var(--gray-300); }
@media (min-width: 480px) { .price-level span { font-size: 10px; } }
.price-level span.active { color: var(--success); }

.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 32px; flex-wrap: wrap; }
@media (min-width: 480px) { .pagination { gap: 6px; } }
.pagination-btn { padding: 6px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 12px; color: var(--gray-600); }
@media (min-width: 480px) { .pagination-btn { padding: 8px 14px; font-size: 13px; } }
.pagination-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination-btn.nav { padding: 6px 14px; }
@media (min-width: 480px) { .pagination-btn.nav { padding: 8px 16px; } }
.pagination-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==================== DASHBOARD STYLES ==================== */
.dashboard-layout { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 1024px) { .dashboard-layout { grid-template-columns: 240px 1fr; } }

.dashboard-sidebar {
    display: none;
    background: #fff;
    border-right: 1px solid var(--gray-200);
    padding: 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
@media (min-width: 1024px) { .dashboard-sidebar { display: block; } }
.sidebar-profile { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); margin-bottom: 20px; }
.sidebar-avatar { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 10px; overflow: hidden; }
@media (min-width: 480px) { .sidebar-avatar { width: 70px; height: 70px; } }
.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-name { font-weight: 600; color: var(--secondary); margin-bottom: 4px; font-size: 13px; }
@media (min-width: 480px) { .sidebar-name { font-size: 14px; } }
.sidebar-title { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .sidebar-title { font-size: 12px; } }
.sidebar-nav { list-style: none; }
.sidebar-nav li { margin-bottom: 2px; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--gray-600);
    transition: all 0.2s;
    font-size: 12px;
}
@media (min-width: 480px) { .sidebar-nav a { font-size: 13px; } }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--primary-light); color: var(--primary); }
.sidebar-nav .icon { font-size: 16px; }

.dashboard-main { padding: 20px 16px; background: var(--gray-50); }
@media (min-width: 768px) { .dashboard-main { padding: 28px 24px; } }
.dashboard-header { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
@media (min-width: 768px) { .dashboard-header { flex-direction: row; justify-content: space-between; align-items: center; } }
.dashboard-header .header-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 480px) { 
    .dashboard-header .header-actions { width: 100%; }
    .dashboard-header .header-actions .btn { flex: 1; min-width: 0; font-size: 12px; padding: 8px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.welcome-text h1 { font-size: 20px; font-weight: 700; color: var(--secondary); }
@media (min-width: 768px) { .welcome-text h1 { font-size: 26px; } }
.welcome-text p { color: var(--gray-500); margin-top: 2px; font-size: 12px; }
@media (min-width: 480px) { .welcome-text p { font-size: 13px; } }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 480px) { .stats-grid { gap: 16px; } }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 16px; }
@media (min-width: 480px) { .stat-card { padding: 20px; } }
.stat-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.stat-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px; }
@media (min-width: 480px) { .stat-icon { width: 44px; height: 44px; font-size: 20px; } }
.stat-icon.green { background: #ECFDF5; }
.stat-icon.blue { background: #EBF5FF; }
.stat-icon.yellow { background: #FEF3C7; }
.stat-icon.purple { background: #F3E8FF; }
.stat-value { font-size: 24px; font-weight: 700; color: var(--secondary); }
@media (min-width: 480px) { .stat-value { font-size: 28px; } }
.stat-label { font-size: 12px; color: var(--gray-500); }
@media (min-width: 480px) { .stat-label { font-size: 13px; } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 2fr 1fr; } }
.card { background: #fff; border-radius: var(--radius-lg); padding: 16px; margin-bottom: 20px; }
@media (min-width: 480px) { .card { padding: 20px; } }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-title { font-size: 13px; font-weight: 600; color: var(--secondary); }
@media (min-width: 480px) { .card-title { font-size: 14px; } }
.card-action { font-size: 11px; color: var(--primary); cursor: pointer; }
@media (min-width: 480px) { .card-action { font-size: 12px; } }

.project-item, .order-item, .independant-item, .activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}
@media (min-width: 480px) { .project-item, .order-item, .independant-item, .activity-item { padding: 14px 0; } }
.project-item:last-child, .order-item:last-child, .independant-item:last-child, .activity-item:last-child { border-bottom: none; }
.project-icon, .order-avatar, .independant-avatar, .activity-icon { width: 36px; height: 36px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--gray-100); flex-shrink: 0; }
@media (min-width: 480px) { .project-icon, .order-avatar, .independant-avatar, .activity-icon { width: 40px; height: 40px; font-size: 18px; } }
.order-avatar img, .independant-avatar img { width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; }
.project-info, .order-info, .independant-info { flex: 1; min-width: 0; }
.project-title, .order-title, .independant-name { font-weight: 500; color: var(--secondary); margin-bottom: 2px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 480px) { .project-title, .order-title, .independant-name { font-size: 13px; } }
.project-meta, .order-meta, .independant-title { font-size: 10px; color: var(--gray-500); }
@media (min-width: 480px) { .project-meta, .order-meta, .independant-title { font-size: 11px; } }
.project-status, .order-status { padding: 3px 8px; border-radius: 50px; font-size: 9px; font-weight: 500; flex-shrink: 0; }
@media (min-width: 480px) { .project-status, .order-status { padding: 3px 10px; font-size: 10px; } }
.project-status.open, .order-status.progress { background: #EBF5FF; color: var(--primary); }
.project-status.progress { background: #FEF3C7; color: #D97706; }
.order-status.delivered { background: #F3E8FF; color: #9333EA; }
.order-status.review { background: var(--gray-100); color: var(--gray-600); }
.project-proposals, .order-amount { font-size: 10px; color: var(--gray-500); margin-left: 8px; display: none; }
@media (min-width: 640px) { .project-proposals, .order-amount { display: block; font-size: 11px; } }
.independant-rating { font-size: 11px; color: #FBBF24; }
@media (min-width: 480px) { .independant-rating { font-size: 12px; } }
.activity-icon.message { background: #EBF5FF; }
.activity-icon.project { background: #ECFDF5; }
.activity-icon.payment { background: #FEF3C7; }
.activity-text { font-size: 12px; color: var(--gray-700); }
@media (min-width: 480px) { .activity-text { font-size: 13px; } }
.activity-time { font-size: 10px; color: var(--gray-400); }
@media (min-width: 480px) { .activity-time { font-size: 11px; } }

.spending-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: var(--radius-lg); padding: 16px; color: #fff; }
@media (min-width: 480px) { .spending-card { padding: 20px; } }
.spending-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.spending-label { font-size: 12px; opacity: 0.8; }
@media (min-width: 480px) { .spending-label { font-size: 13px; } }
.spending-value { font-size: 24px; font-weight: 700; }
@media (min-width: 480px) { .spending-value { font-size: 28px; } }
.spending-period { font-size: 11px; opacity: 0.7; }
@media (min-width: 480px) { .spending-period { font-size: 12px; } }
.spending-breakdown { display: flex; gap: 16px; }
@media (min-width: 480px) { .spending-breakdown { gap: 20px; } }
.spending-item { text-align: center; }
.spending-item-value { font-size: 16px; font-weight: 600; }
@media (min-width: 480px) { .spending-item-value { font-size: 18px; } }
.spending-item-label { font-size: 10px; opacity: 0.7; }
@media (min-width: 480px) { .spending-item-label { font-size: 11px; } }

.quick-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-action { padding: 12px; background: var(--gray-50); border-radius: var(--radius); text-align: center; cursor: pointer; transition: all 0.2s; }
@media (min-width: 480px) { .quick-action { padding: 14px; } }
.quick-action:hover { background: var(--primary-light); }
.quick-action-icon { font-size: 18px; margin-bottom: 6px; }
@media (min-width: 480px) { .quick-action-icon { font-size: 20px; } }
.quick-action-title { font-size: 11px; color: var(--gray-600); }
@media (min-width: 480px) { .quick-action-title { font-size: 12px; } }

/* ==================== PROFILE PAGE STYLES ==================== */
.page-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
@media (min-width: 480px) { .page-layout { gap: 24px; } }
@media (min-width: 1024px) { .page-layout { grid-template-columns: 260px 1fr; } }

.profile-sidebar {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px;
    height: fit-content;
}
@media (min-width: 480px) { .profile-sidebar { padding: 20px; } }
@media (min-width: 1024px) { .profile-sidebar { position: sticky; top: 100px; } }
.profile-header { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); margin-bottom: 20px; }
.profile-avatar-wrapper { position: relative; width: 70px; height: 70px; margin: 0 auto 12px; }
@media (min-width: 480px) { .profile-avatar-wrapper { width: 80px; height: 80px; } }
.profile-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-light); }
.profile-avatar-placeholder { width: 100%; height: 100%; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; }
@media (min-width: 480px) { .profile-avatar-placeholder { font-size: 28px; } }
.edit-avatar-btn { position: absolute; bottom: 0; right: 0; width: 26px; height: 26px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; }
@media (min-width: 480px) { .edit-avatar-btn { width: 28px; height: 28px; font-size: 12px; } }
.profile-name { font-size: 15px; font-weight: 600; color: var(--secondary); margin-bottom: 4px; }
@media (min-width: 480px) { .profile-name { font-size: 16px; } }
.profile-title { font-size: 11px; color: var(--gray-500); margin-bottom: 10px; }
@media (min-width: 480px) { .profile-title { font-size: 12px; } }
.verified-badge-lg { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: var(--success); color: #fff; border-radius: 50px; font-size: 10px; font-weight: 500; }
@media (min-width: 480px) { .verified-badge-lg { font-size: 11px; } }
.profile-stats { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
@media (min-width: 480px) { .profile-stats { gap: 20px; } }
.profile-stat { text-align: center; }
.profile-stat-value { font-size: 15px; font-weight: 700; color: var(--secondary); }
@media (min-width: 480px) { .profile-stat-value { font-size: 16px; } }
.profile-stat-label { font-size: 9px; color: var(--gray-500); }
@media (min-width: 480px) { .profile-stat-label { font-size: 10px; } }
.profile-nav { list-style: none; }
.profile-nav li { margin-bottom: 2px; }
.profile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--gray-600);
    font-size: 12px;
    transition: all 0.2s;
}
@media (min-width: 480px) { .profile-nav a { font-size: 13px; } }
.profile-nav a:hover, .profile-nav a.active { background: var(--primary-light); color: var(--primary); }
.profile-nav .nav-icon { font-size: 16px; }

.content-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; }
@media (min-width: 480px) { .content-card { padding: 24px; } }
.content-header { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
@media (min-width: 640px) { .content-header { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.content-title { font-size: 16px; font-weight: 600; color: var(--secondary); margin-bottom: 4px; }
@media (min-width: 480px) { .content-title { font-size: 18px; } }
.content-subtitle { font-size: 12px; color: var(--gray-500); }
@media (min-width: 480px) { .content-subtitle { font-size: 13px; } }

.form-section { margin-bottom: 28px; }
.form-section:last-child { margin-bottom: 0; }
.form-section-title { font-size: 12px; font-weight: 600; color: var(--secondary); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
@media (min-width: 480px) { .form-section-title { font-size: 13px; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 11px; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; }
@media (min-width: 480px) { .form-group label { font-size: 12px; } }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 13px;
    transition: all 0.2s;
}
@media (min-width: 480px) { .form-group input, .form-group select, .form-group textarea { padding: 10px 14px; } }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-hint { font-size: 10px; color: var(--gray-400); margin-top: 4px; }
@media (min-width: 480px) { .form-hint { font-size: 11px; } }
.char-count { font-size: 10px; color: var(--gray-400); text-align: right; margin-top: 4px; }
@media (min-width: 480px) { .char-count { font-size: 11px; } }

.skills-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.skill-tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; background: var(--gray-100); border-radius: 50px; font-size: 11px; color: var(--gray-700); }
@media (min-width: 480px) { .skill-tag { padding: 6px 12px; font-size: 12px; } }
.skill-tag .remove { background: none; border: none; color: var(--gray-400); cursor: pointer; font-size: 14px; }
.add-skill-input { display: flex; gap: 10px; }
.add-skill-input input { flex: 1; }

.toggle-group { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
@media (min-width: 480px) { .toggle-group { padding: 14px 0; } }
.toggle-info h4 { font-size: 12px; font-weight: 500; color: var(--secondary); margin-bottom: 2px; }
@media (min-width: 480px) { .toggle-info h4 { font-size: 13px; } }
.toggle-info p { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .toggle-info p { font-size: 12px; } }
.toggle { width: 40px; height: 22px; background: var(--gray-300); border-radius: 11px; position: relative; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
@media (min-width: 480px) { .toggle { width: 44px; height: 24px; border-radius: 12px; } }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
@media (min-width: 480px) { .toggle::after { width: 20px; height: 20px; } }
.toggle.active { background: var(--primary); }
.toggle.active::after { transform: translateX(18px); }
@media (min-width: 480px) { .toggle.active::after { transform: translateX(20px); } }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 480px) { .portfolio-grid { gap: 12px; } }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-item { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.add-portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--gray-400);
    aspect-ratio: 1;
    font-size: 11px;
}
@media (min-width: 480px) { .add-portfolio { font-size: 12px; } }
.add-portfolio:hover { border-color: var(--primary); color: var(--primary); }
.add-portfolio .icon { font-size: 20px; }
@media (min-width: 480px) { .add-portfolio .icon { font-size: 24px; } }

.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-item { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--gray-50); border-radius: var(--radius); font-size: 12px; }
@media (min-width: 480px) { .cert-item { font-size: 13px; } }
.cert-item .icon { color: var(--success); }

.security-item { display: flex; flex-direction: column; gap: 12px; padding: 12px; background: var(--gray-50); border-radius: var(--radius); margin-bottom: 10px; }
@media (min-width: 480px) { .security-item { padding: 14px; } }
@media (min-width: 640px) { .security-item { flex-direction: row; justify-content: space-between; align-items: center; } }
.security-item-info { display: flex; align-items: center; gap: 12px; }
.security-item-icon { font-size: 18px; }
@media (min-width: 480px) { .security-item-icon { font-size: 20px; } }
.security-item-title { font-weight: 500; color: var(--secondary); font-size: 12px; }
@media (min-width: 480px) { .security-item-title { font-size: 13px; } }
.security-item-desc { font-size: 11px; color: var(--gray-500); }
@media (min-width: 480px) { .security-item-desc { font-size: 12px; } }
.security-status { color: var(--success); font-weight: 500; font-size: 11px; }
@media (min-width: 480px) { .security-status { font-size: 12px; } }

.session-item { display: flex; flex-direction: column; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
@media (min-width: 640px) { .session-item { flex-direction: row; justify-content: space-between; align-items: center; } }
.session-info { display: flex; align-items: center; gap: 10px; }
.session-icon { font-size: 16px; }
@media (min-width: 480px) { .session-icon { font-size: 18px; } }
.session-device { font-weight: 500; color: var(--secondary); font-size: 12px; }
@media (min-width: 480px) { .session-device { font-size: 13px; } }
.session-location { font-size: 10px; color: var(--gray-500); }
@media (min-width: 480px) { .session-location { font-size: 11px; } }
.session-current { font-size: 10px; color: var(--success); font-weight: 500; }
@media (min-width: 480px) { .session-current { font-size: 11px; } }


/* ==================== LAZY LOADING ==================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

.lazy-placeholder {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* ==================== SERVICE CARD IMPROVEMENTS ==================== */
.service-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    z-index: 2;
}

.service-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--gray-500);
}

.service-actions {
    display: flex;
    gap: 8px;

/* ==================== NOTIFICATION TOASTS ==================== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-left: 4px solid var(--primary);
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
}

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

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: var(--gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    color: var(--gray-600);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    background: #DC2626;
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

@media (max-width: 480px) {
    .toast-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

    margin-top: 12px;
}

.service-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    text-align: center;
}
