.table-ted {
    padding: 2rem;
    border-radius: 8px;
    margin: 20px 0px;
}

.table-ted h3 {
    text-align: center;
}
.table-ted .review-item{

}

.table-ted .review-title{

}


.table-ted .review-value{

}
 .review-ted .review-value{

}
.info-block, .upload-section, .custom-upload-section{
    background: #fff8e7 !important;
}
.navbar-brand img{
    width: 150px !important;
}
/* commissions.css */
/* --- Global Accordion --- */
.commission-accordion {
    margin-top: 2rem;
}

/* --- Item Wrapper --- */
.commission-accordion-item {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* --- Toggle Button --- */
.commission-toggle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    background-color: #f5a623;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    gap: 1rem;
}


.commission-toggle:hover {
    background-color: #e19000;
}

.commission-toggle:not(.collapsed) {
    background-color: #e68a00;
}

.commission-title {
    flex-grow: 1;
}

.commission-total {
    white-space: nowrap;
    font-weight: normal;
}

.commission-icon {
    font-size: 1.25rem;
    font-weight: bold;
    width: 1.5rem;
    text-align: center;
}

/* --- Collapse Body --- */
.commission-accordion-body {
    background-color: #fffefb;
    border: 1px solid #eee;
    border-top: none;
    padding: 1rem;
}

/* --- Table Styling --- */
.commission-table-wrapper {
    border-radius: 0.5rem;
    border: 1px solid #eee;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
}

/* Facultatif : empêche la table de shrink si espace étroit */
.commission-table {
    min-width: 1000px; /* tu peux ajuster selon ton cas */
}

.commission-table thead {
    background-color: #fdf1d6;
    color: #333;
}

.commission-table th,
.commission-table td {
    font-size: 0.775rem;
    vertical-align: middle;
    padding: 0.5rem;
}

.commission-table tr:nth-child(even) {
    background-color: #fffaf0;
}

.progress-summary {
    min-width: 140px;
    font-size: 0.95rem;
}


.progress-bar{

    height: 12px !important;
    margin-top: -3px !important;
}

.progress{
    margin-top: 6px;
}

.commission-global-summary {
    font-size: 0.95rem;
    border-radius: 0.5rem;
    background:#fff8e7;
    border:1px solid #e5d3a6;
}
.commission-global-summary h6 {
    font-size: 1rem;
}

.commission-paid {
    color: #198754;
    font-weight: 600;
}

.commission-unpaid {
    color: #dc3545;
    font-weight: 600;
}


.ddp-form-bloc{
    background:#fff8e7;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

}
.is-invalid {
    border-color: #dc3545;
}
.border-danger {
    border: 2px solid #dc3545 !important;
}

strong{

    color: #344767
}

.check-salaire{
    margin-left: 1rem !important;
}
.label-salaire{
    font-size: 1.25rem !important;
    white-space: nowrap;
    padding-left: 0;

}
.form-switch-salaire{
    padding-left: 0em !important;
}
.list-group-item{
    cursor: pointer;
}


footer{

    margin-top : 2rem !important;
}

.info-doc-cafpi{
    margin-left: -40px !important;;
    margin-right: -40px !important;;
    background: linear-gradient(to bottom, rgb(255 182 102), rgb(255 237 217)) !important;
    margin-top: 3rem !important;;
}

.prise-en-charge-block{
    display: inline-block;
    width: 100%;
    text-align: right;
}
.btn-prise-en-charge{
    max-width: 400px;
    white-space: nowrap !important;
    float:right;
}
.lateral-mail{
    background: #fff8e7 !important;
    width: 450px;
    max-width: 100%;
    z-index: 1050;
}
.div-send-client{

    margin-top: 20px;
    margin-left: -15px;
}
@media (max-width: 768px) {
    .commission-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .commission-title {
        font-size: 0.95rem;
        white-space: normal;
    }

    .commission-total {
        font-weight: bold;
        color: #fff;
        font-size: 1rem;
    }

    .progress-summary {
        width: 100%;
        align-items: flex-start;
    }

    .progress-summary .progress {
        width: 100%;
    }

    .commission-icon {
        align-self: flex-start;
        margin-right: 0.5rem;
    }
}

