.tarif-shortcode-container {
    margin: 20px 0;
    font-family: "Outfit", Sans-serif;
}

.tarif-table-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tarif-table-header {
    text-align: center;
    padding: 10px 0;
}

.tarif-title {
    font-size: 22px;
    margin: 0;
    color: #0073aa;
    font-weight: 600;
}

.tarif-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-style: italic;
}

.tarif-table-wrapper {
    overflow-x: auto;
}

.tarif-display-table {
    width: 100%;
    border-collapse: separate;
    min-width: 600px;
    background: #fff;
    border: none;
    margin: 0;
}

.tarif-display-table th,
.tarif-display-table td {
    border: 0.9px solid #ddd;
    padding: 0;
    text-align: left;
}

.tarif-display-table thead th {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 12px 0px !important;
    vertical-align: middle;
}

/* Enlever les bordures extérieures */
.tarif-display-table thead tr:first-child th {
    border-top: none;
}

.tarif-display-table thead tr:first-child th:first-child {
    border-left: none;
}

.tarif-display-table thead tr:first-child th:last-child {
    border-right: none;
}

.tarif-display-table tbody tr td:first-child {
    border-left: none;
}

.tarif-display-table tbody tr td:last-child {
    border-right: none;
}

.tarif-display-table tbody tr:last-child td {
    border-bottom: none;
}

.tarif-column-header {
    min-width: 150px;
}

.tarif-cell {
    background: #fff;
    vertical-align: middle;
    padding: 10px 0;
    text-align: center;
}

.tarif-stages {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.tarif-stage-separator {
    width: 100%;
    border: none;
    border-top: 1px solid #ddd;
    margin: 8px 0;
}

.tarif-stage {
    text-align: center;
    width: 100%;
    max-width: 200px;
    padding: 4px 0;
}

.tarif-stage strong {
    font-weight: 700;
}

.tarif-stage:hover {
    background: #e3f2fd;
}

.tarif-display-table tbody tr:nth-child(even) .tarif-cell {
    background: #fafafa;
}

.tarif-display-table tbody tr:hover .tarif-cell {
    background: #f0f8ff;
}

.tarif-error {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    margin: 20px 0;
}

.tarif-list-container {
    margin: 20px 0;
}

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

.tarif-list-item {
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tarif-list-item:hover {
    background: #f8f9fa;
    border-color: #0073aa;
    box-shadow: 0 2px 5px rgba(0, 115, 170, 0.1);
}

.tarif-list-item a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.tarif-list-item a:hover {
    color: #005177;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .tarif-title {
        font-size: 18px;
    }
    
    .tarif-display-table th,
    .tarif-display-table td {
        font-size: 13px;
    }
    
    .tarif-column-header {
        min-width: 120px;
    }
}

@media screen and (max-width: 480px) {
    .tarif-display-table th,
    .tarif-display-table td {
        font-size: 12px;
    }
    
    .tarif-column-header {
        min-width: 100px;
    }
}

@media print {
    .tarif-table-section {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .tarif-display-table {
        font-size: 10pt;
    }
    
    .tarif-display-table th,
    .tarif-display-table td {
        padding: 5px;
    }
}
