/* Container principal */
.experici-companies-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Filtres */
.filter-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sector-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 8px 20px;
    background: #f0f2f5;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2A6E71;
    color: white;
}

.country-filters {
    display: flex;
    gap: 15px;
}

.country-btn {
    padding: 6px 12px;
    background: #e8f4f4;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    color: #2A6E71;
    font-weight: 500;
}

/* Grille des entreprises */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Carte entreprise */
.company-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(42, 110, 113, 0.15);
    border-color: #2A6E71;
}

.company-link {
    text-decoration: none;
    display: block;
}

.company-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-initials {
    font-size: 24px;
    font-weight: 800;
    color: #2A6E71;
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: #E16C0C;
    margin-bottom: 8px;
}

.company-details {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.company-offers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.offer-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: #f0f2f5;
    border-radius: 20px;
    color: #2A6E71;
}

.company-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #2A6E71;
    text-decoration: none;
    transition: all 0.3s ease;
}

.company-card:hover .company-btn {
    transform: translateX(5px);
    display: inline-block;
}

/* View all */
.view-all {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2A6E71;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #1a4f51;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sector-filters {
        overflow-x: auto;
        padding-bottom: 10px;
        width: 100%;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .company-card {
        padding: 18px;
    }
}
/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-page,
.pagination-prev,
.pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #f0f2f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1a2a3a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-page:hover,
.pagination-prev:hover,
.pagination-next:hover {
    background: #2A6E71;
    color: white;
}

.pagination-page.active {
    background: #2A6E71;
    color: white;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
}

.error {
    text-align: center;
    padding: 40px;
    color: #dc3545;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-page,
    .pagination-prev,
    .pagination-next {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }
}
/* Pagination buttons */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-page,
.pagination-prev,
.pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #f0f2f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1a2a3a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-page:hover,
.pagination-prev:hover,
.pagination-next:hover {
    background: #2A6E71;
    color: white;
}

.pagination-page.active {
    background: #2A6E71;
    color: white;
}

.pagination-dots {
    padding: 0 5px;
    color: #666;
}

/* Country buttons active state */
.country-btn.active {
    background: #2A6E71;
    color: white;
}

/* Filter buttons active state */
.filter-btn.active {
    background: #2A6E71;
    color: white;
}
/* Size filters - ajouter à la fin du fichier */
.size-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
}

.size-btn {
    padding: 6px 15px;
    background: #e8f4f4;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    color: #2A6E71;
    font-weight: 500;
}

.size-btn:hover,
.size-btn.active {
    background: #2A6E71;
    color: white;
}

/* Responsive pour les filtres */
@media (max-width: 768px) {
    .size-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .size-btn {
        white-space: nowrap;
        font-size: 12px;
        padding: 5px 12px;
    }
}