     * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --senegal-green: #00853F;
            --senegal-yellow: #FCD116;
            --senegal-red: #E31B23;
            --white: #FFFFFF;
            --text-dark: #1F2937;
            --text-light: #6B7280;
            --bg-light: #F9FAFB;
            --bg-gray: #F3F4F6;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            background: var(--bg-light);
        }

        /* Navigation */
        nav {
            position: sticky;
            top: 0;
            background: var(--white);
            padding: 1rem 5%;
            box-shadow: var(--shadow-md);
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .logo-flag {
            width: 45px;
            height: 30px;
            display: flex;
            border-radius: 4px;
            overflow: hidden;
        }

        .flag-stripe {
            flex: 1;
        }

        .flag-green { background: var(--senegal-green); }
        .flag-yellow { background: var(--senegal-yellow); }
        .flag-red { background: var(--senegal-red); }

        .logo-text h1 {
            font-size: 1.3rem;
            font-weight: 800;
            color: #475569;
        }

        .logo-subtitle {
            font-size: 0.7rem;
            color: var(--text-light);
        }

        .nav-menu-desktop {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu-desktop a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            transition: color 0.3s;
            font-size: 0.95rem;
        }

        .nav-menu-desktop a:hover,
        .nav-menu-desktop a.active {
            color: #475569;
        }

        /* Dashboard Hero */
        .dashboard-hero {
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            padding: 3rem 5%;
            border-bottom: 1px solid #cbd5e1;
        }

        .dashboard-hero-content {
            max-width: 1400px;
            margin: 0 auto;
        }

        .dashboard-hero h1 {
            font-size: 2.5rem;
            font-weight: 900;
            color: #334155;
            margin-bottom: 0.5rem;
        }

        .dashboard-hero p {
            font-size: 1.1rem;
            color: #64748b;
        }

        .dashboard-time {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 1.5rem;
            padding: 1rem;
            background: var(--white);
            border-radius: 12px;
            display: inline-flex;
        }

        .dashboard-time-icon {
            font-size: 1.5rem;
        }

        .dashboard-time-info {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .dashboard-time-value {
            font-weight: 700;
            color: var(--text-dark);
        }

        /* Main Dashboard */
        .dashboard-main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 5%;
        }

        /* Stats Overview */
        .stats-overview {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .stat-card {
            background: var(--white);
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid #e2e8f0;
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #64748b, #94a3b8);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s;
        }

        .stat-card:hover::before {
            transform: scaleX(1);
        }

        .stat-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
        }

        .stat-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .stat-card-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #64748b, #94a3b8);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--white);
            box-shadow: 0 8px 20px rgba(100, 116, 139, 0.25);
            transition: all 0.3s;
        }

        .stat-card:hover .stat-card-icon {
            transform: scale(1.1) rotate(-5deg);
            box-shadow: 0 12px 30px rgba(100, 116, 139, 0.35);
        }

        .stat-card-trend {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.85rem;
            font-weight: 800;
            letter-spacing: 0.3px;
        }

        .stat-card-trend.up {
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
            color: #15803d;
            box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
        }

        .stat-card-trend.down {
            background: linear-gradient(135deg, #fee2e2, #fecaca);
            color: #b91c1c;
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
        }

        .stat-card-value {
            font-size: 2.8rem;
            font-weight: 900;
            color: #1e293b;
            margin-bottom: 0.5rem;
            line-height: 1;
            background: linear-gradient(135deg, #1e293b, #475569);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-card-label {
            font-size: 1rem;
            color: #64748b;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        }

        .stat-card-label {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        /* Dashboard Grid */
        .dashboard-grid {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        /* Top Services Card */
        .top-services-card {
            background: var(--white);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid #e2e8f0;
        }

        .top-services-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #f1f5f9;
        }

        .top-services-title {
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .top-services-icon {
            font-size: 1.8rem;
        }

        .top-services-period {
            font-size: 0.85rem;
            color: var(--text-light);
            font-weight: 600;
            padding: 0.5rem 1rem;
            background: var(--bg-light);
            border-radius: 20px;
        }

        .top-services-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .service-item {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 1.2rem;
            padding: 1.5rem;
            background: var(--bg-light);
            border-radius: 15px;
            transition: all 0.3s;
            cursor: pointer;
            align-items: center;
        }

        .service-item:hover {
            background: #e2e8f0;
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .service-rank {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #64748b, #94a3b8);
            color: var(--white);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 900;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
        }

        .service-item:nth-child(1) .service-rank {
            background: linear-gradient(135deg, #475569, #64748b);
            box-shadow: 0 4px 12px rgba(71, 85, 105, 0.25);
        }

        .service-item:nth-child(2) .service-rank {
            background: linear-gradient(135deg, #64748b, #94a3b8);
            box-shadow: 0 4px 12px rgba(100, 116, 139, 0.22);
        }

        .service-item:nth-child(3) .service-rank {
            background: linear-gradient(135deg, #94a3b8, #cbd5e1);
            box-shadow: 0 4px 12px rgba(148, 163, 184, 0.2);
            color: #334155;
        }

        .service-info {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .service-name {
            font-size: 1rem;
            font-weight: 800;
            color: var(--text-dark);
        }

        .service-member {
            font-size: 0.85rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .service-member-icon {
            font-size: 0.9rem;
        }

        .service-requests {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.2rem;
        }

        .service-requests-count {
            font-size: 1.5rem;
            font-weight: 900;
            color: #334155;
            background: linear-gradient(135deg, #1e293b, #475569);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .service-requests-label {
            font-size: 0.75rem;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        /* Management Panel */
        .management-panel {
            background: var(--white);
            border-radius: 20px;
            padding: 0;
            box-shadow: var(--shadow-sm);
            border: 1px solid #e2e8f0;
            overflow: hidden;
        }

        /* Tabs Header */
        .tabs-header {
            display: flex;
            border-bottom: 2px solid #f1f5f9;
            background: var(--bg-light);
        }

        .tab-button {
            flex: 1;
            padding: 1.2rem 1.5rem;
            background: transparent;
            border: none;
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .tab-button::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: #64748b;
            transform: scaleX(0);
            transition: transform 0.3s;
        }

        .tab-button:hover {
            color: var(--text-dark);
            background: rgba(100, 116, 139, 0.05);
        }

        .tab-button.active {
            color: #334155;
            background: var(--white);
        }

        .tab-button.active::after {
            transform: scaleX(1);
        }

        .tab-icon {
            font-size: 1.2rem;
        }

        .tab-count {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 24px;
            height: 24px;
            padding: 0 0.5rem;
            background: #e2e8f0;
            color: #64748b;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 800;
        }

        .tab-button.active .tab-count {
            background: #64748b;
            color: var(--white);
        }

        /* Tab Content */
        .tab-content {
            display: none;
            padding: 2rem;
        }

        .tab-content.active {
            display: block;
        }

        /* Filters Bar */
        .filters-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .filter-group {
            display: flex;
            gap: 0.5rem;
        }

        .filter-button {
            padding: 0.6rem 1.2rem;
            background: var(--bg-light);
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
            transition: all 0.3s;
        }

        .filter-button:hover {
            background: #e2e8f0;
        }

        .filter-button.active {
            background: #64748b;
            color: var(--white);
            border-color: #64748b;
        }

        .search-wrapper {
            position: relative;
        }

        .search-icon {
            position: absolute;
            left: 0.8rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
            font-size: 1rem;
        }

        .search-input {
            padding: 0.6rem 1rem 0.6rem 2.5rem;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            font-size: 0.9rem;
            min-width: 250px;
            transition: all 0.3s;
            background: var(--white);
        }

        .search-input:focus {
            outline: none;
            border-color: #64748b;
            box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
        }

        /* Items Table */
        .items-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 0.5rem;
        }

        .items-table thead tr {
            background: transparent;
        }

        .items-table th {
            padding: 0.8rem 1rem;
            text-align: left;
            font-size: 0.75rem;
            font-weight: 800;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid #f1f5f9;
        }

        .items-table tbody tr {
            background: var(--bg-light);
            transition: all 0.3s;
            cursor: pointer;
        }

        .items-table tbody tr:hover {
            background: #e2e8f0;
            transform: translateX(3px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .items-table td {
            padding: 1rem;
            border-top: 1px solid transparent;
            border-bottom: 1px solid transparent;
        }

        .items-table tbody tr td:first-child {
            border-left: 3px solid transparent;
            border-radius: 12px 0 0 12px;
        }

        .items-table tbody tr:hover td:first-child {
            border-left-color: #64748b;
        }

        .items-table tbody tr td:last-child {
            border-radius: 0 12px 12px 0;
        }

        /* Table Cell Styles */
        .item-name {
            font-weight: 800;
            color: var(--text-dark);
            font-size: 0.95rem;
        }

        .item-code {
            font-family: 'Courier New', monospace;
            font-weight: 700;
            color: #475569;
            background: #f1f5f9;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-size: 0.85rem;
        }

        .item-version {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background: #f1f5f9;
            color: #64748b;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .item-date {
            color: var(--text-light);
            font-size: 0.85rem;
        }

        .item-provider,
        .item-count {
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .item-count {
            font-weight: 700;
            color: #475569;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.9rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .status-badge.active {
            background: #dcfce7;
            color: #15803d;
        }

        .status-badge.inactive {
            background: #fee2e2;
            color: #b91c1c;
        }

        .status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: currentColor;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e2e8f0;
        }

        .pagination-info {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .pagination-info strong {
            color: var(--text-dark);
            font-weight: 700;
        }

        .pagination-controls {
            display: flex;
            gap: 0.5rem;
        }

        .pagination-button {
            padding: 0.5rem 1rem;
            background: var(--white);
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
            transition: all 0.3s;
        }

        .pagination-button:hover:not(:disabled) {
            background: #64748b;
            color: var(--white);
            border-color: #64748b;
        }

        .pagination-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .pagination-button.active {
            background: #64748b;
            color: var(--white);
            border-color: #64748b);
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 3rem 2rem;
            color: var(--text-light);
        }

        .empty-state-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .empty-state-text {
            font-size: 1.1rem;
            font-weight: 600;
        }

        /* API Usage Table */
        .api-usage-section {
            background: var(--white);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid #e2e8f0;
            margin-bottom: 3rem;
        }

        .api-usage-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .api-usage-title {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--text-dark);
        }

        .api-table {
            width: 100%;
            border-collapse: collapse;
        }

        .api-table thead {
            background: var(--bg-light);
        }

        .api-table th {
            padding: 1rem;
            text-align: left;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .api-table td {
            padding: 1.2rem 1rem;
            border-bottom: 1px solid var(--bg-light);
            font-size: 0.9rem;
        }

        .api-table tr:hover {
            background: #f8fafc;
        }

        .api-name {
            font-weight: 700;
            color: var(--text-dark);
        }

        .api-status {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .api-status.operational {
            background: #dcfce7;
            color: #16a34a;
        }

        .api-status.degraded {
            background: #fef3c7;
            color: #d97706;
        }

        .api-status.down {
            background: #fee2e2;
            color: #dc2626;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: var(--bg-light);
            border-radius: 10px;
            overflow: hidden;
        }

        .progress-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #64748b, #94a3b8);
            border-radius: 10px;
            transition: width 0.3s;
        }

        /* Footer */
        footer {
            background: var(--text-dark);
            color: var(--white);
            padding: 4rem 5% 2rem;
        }

        .footer-grid {
            max-width: 1400px;
            margin: 0 auto 3rem;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
        }

        .footer-section h3 {
            color: #e2e8f0;
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            font-weight: 800;
        }

        .footer-about p {
            color: rgba(255,255,255,0.8);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section li {
            margin-bottom: 0.8rem;
        }

        .footer-section a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: all 0.3s;
        }

        .footer-section a:hover {
            color: #cbd5e1;
            padding-left: 5px;
        }

        .social-icons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s;
            cursor: pointer;
        }

        .social-icon:hover {
            background: #64748b;
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            text-align: center;
            color: rgba(255,255,255,0.6);
        }

        .footer-bottom p {
            margin-bottom: 1rem;
        }

        .footer-bottom-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-bottom-links a {
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-bottom-links a:hover {
            color: rgba(255,255,255,0.9);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .stats-overview {
                grid-template-columns: repeat(3, 1fr);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .api-table {
                font-size: 0.85rem;
            }

            .api-table th,
            .api-table td {
                padding: 0.8rem 0.6rem;
            }
        }

        @media (max-width: 768px) {
            /* Navigation mobile */
            .nav-menu-desktop {
                display: none;
            }

            nav {
                padding: 1rem 3%;
            }

            .logo-text h1 {
                font-size: 1.1rem;
            }

            .logo-subtitle {
                font-size: 0.65rem;
            }

            /* Dashboard hero mobile */
            .dashboard-hero {
                padding: 2rem 4%;
            }

            .dashboard-hero h1 {
                font-size: 2rem;
            }

            .dashboard-hero p {
                font-size: 1rem;
            }

            .dashboard-time {
                width: 100%;
                justify-content: flex-start;
            }

            /* Dashboard main mobile */
            .dashboard-main {
                padding: 2rem 4%;
            }

            /* Stats overview mobile */
            .stats-overview {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .stat-card {
                padding: 1.5rem;
            }

            .stat-card-value {
                font-size: 1.8rem;
            }

            .stat-card-icon {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }

            /* Top Services mobile */
            .top-services-card {
                padding: 1.8rem;
            }

            .top-services-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }

            .top-services-title {
                font-size: 1.2rem;
            }

            .service-item {
                grid-template-columns: auto 1fr;
                gap: 1rem;
                padding: 1.2rem;
            }

            .service-rank {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }

            .service-info {
                grid-column: 1 / -1;
                grid-row: 2;
            }

            .service-requests {
                align-items: flex-start;
            }

            .service-requests-count {
                font-size: 1.3rem;
            }

            .service-name {
                font-size: 0.95rem;
            }

            .service-member {
                font-size: 0.8rem;
            }

            /* Management Panel mobile */
            .management-panel {
                border-radius: 15px;
            }

            .tab-button {
                padding: 1rem;
                font-size: 0.9rem;
                flex-direction: column;
                gap: 0.3rem;
            }

            .tab-icon {
                font-size: 1.1rem;
            }

            .tab-content {
                padding: 1.5rem;
            }

            .filters-bar {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-group {
                width: 100%;
            }

            .filter-button {
                flex: 1;
            }

            .search-wrapper {
                width: 100%;
            }

            .search-input {
                width: 100%;
                min-width: auto;
            }

            .items-table {
                font-size: 0.85rem;
            }

            .items-table th {
                padding: 0.6rem 0.8rem;
                font-size: 0.7rem;
            }

            .items-table td {
                padding: 0.8rem;
            }

            .item-name {
                font-size: 0.9rem;
            }

            .item-code {
                font-size: 0.8rem;
            }

            .pagination {
                flex-direction: column;
                gap: 1rem;
                align-items: stretch;
            }

            .pagination-controls {
                justify-content: center;
                flex-wrap: wrap;
            }

            /* API Usage Table mobile */
            .api-usage-section {
                padding: 1.5rem;
                overflow-x: auto;
            }

            .api-usage-title {
                font-size: 1.2rem;
            }

            .api-table {
                min-width: 600px;
                font-size: 0.8rem;
            }

            .api-table th,
            .api-table td {
                padding: 0.8rem 0.5rem;
                white-space: nowrap;
            }

            .api-name {
                font-size: 0.85rem;
            }

            .api-status {
                font-size: 0.7rem;
                padding: 0.3rem 0.6rem;
            }

            /* System status mobile */
            /* Footer mobile */
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            footer {
                padding: 3rem 4% 1.5rem;
            }

            .footer-bottom-links {
                flex-direction: column;
                gap: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            /* Extra small screens */
            .dashboard-hero h1 {
                font-size: 1.8rem;
            }

            .dashboard-time {
                flex-direction: column;
                align-items: flex-start;
                padding: 0.8rem;
            }

            .dashboard-time-icon {
                font-size: 1.3rem;
            }

            /* Stats cards compact */
            .stat-card {
                padding: 1.2rem;
            }

            .stat-card-header {
                margin-bottom: 0.8rem;
            }

            .stat-card-value {
                font-size: 1.6rem;
            }

            .stat-card-label {
                font-size: 0.85rem;
            }

            .stat-card-trend {
                font-size: 0.75rem;
                padding: 0.25rem 0.6rem;
            }

            /* Top Services compact */
            .top-services-card {
                padding: 1.5rem;
            }

            .service-item {
                padding: 1rem;
            }

            .service-rank {
                width: 32px;
                height: 32px;
                font-size: 0.9rem;
            }

            .service-requests-count {
                font-size: 1.2rem;
            }

            .service-name {
                font-size: 0.9rem;
            }

            .service-member {
                font-size: 0.75rem;
            }

            /* Management Panel compact */
            .tab-content {
                padding: 1.2rem;
            }

            .items-table {
                display: block;
                overflow-x: auto;
            }

            .items-table th,
            .items-table td {
                white-space: nowrap;
            }

            /* API table scroll hint */
            .api-usage-section::after {
                content: '← Faites défiler →';
                display: block;
                text-align: center;
                color: var(--text-light);
                font-size: 0.8rem;
                margin-top: 1rem;
                font-style: italic;
            }

            .api-table {
                font-size: 0.75rem;
            }
        }

        /* Landscape orientation for phones */
        @media (max-width: 968px) and (orientation: landscape) {
            .dashboard-hero {
                padding: 1.5rem 4%;
            }

            .dashboard-hero h1 {
                font-size: 1.8rem;
            }

            .stats-overview {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Print styles */
        @media print {
            nav,
            footer,
            .dashboard-time,
            .filters-bar {
                display: none;
            }

            .dashboard-hero {
                background: white;
                color: black;
            }

            .stats-overview {
                grid-template-columns: repeat(2, 1fr);
            }

            .stat-card,
            .top-services-card,
            .api-usage-section,
            .management-panel {
                border: 1px solid #ddd;
                page-break-inside: avoid;
            }
        }

        
        
        /* Dashboard Hero Centré - FORCE */
.dashboard-hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.dashboard-hero-content h1,
.dashboard-hero-content p {
    text-align: center !important;
}

.dashboard-time {
    margin: 0 auto !important;
}