/* ==========================================================================
   Onglet Commandes — panneaux détail (sans styles inline)
   ========================================================================== */

.pvl-order-details-flow {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.pvl-order-details-flow__title {
    margin: 0 0 12px;
    font-size: 14px;
    color: #2d3748;
}

.pvl-order-details-flow__signatures {
    margin: 12px 0 0;
    font-size: 12px;
    color: #4a5568;
}

.pvl-customer-details-box {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.pvl-customer-details-box__title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2d3748;
    font-size: 15px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 8px;
}

.pvl-customer-details-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 13px;
    color: #4a5568;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.pvl-customer-details-box__message-wrap {
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 13px;
}

.pvl-customer-details-box__message-label {
    margin: 0;
    color: #4a5568;
}

.pvl-customer-details-box__message-body {
    margin: 5px 0 0;
    color: #2d3748;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #edf2f7;
}

.pvl-ceremony-location-box {
    margin-bottom: 20px;
    padding: 15px;
    background: #ebf8ff;
    border-radius: 6px;
    border: 1px solid #bee3f8;
}

.pvl-ceremony-location-box__title {
    margin: 0 0 8px;
    color: #2c5282;
    font-size: 15px;
}

.pvl-ceremony-location-box__text {
    margin: 0;
    font-size: 13px;
    color: #2d3748;
}

.pvl-ceremony-location-box__meta {
    margin: 8px 0 0;
    font-size: 12px;
    color: #4a5568;
}

.pvl-services-box {
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f4f8;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
}

.pvl-services-box__title {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2b6cb0;
    font-size: 14px;
}

.pvl-services-box__list {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #2d3748;
}

.pvl-services-box__item {
    margin-bottom: 8px;
}

.pvl-services-box__options {
    margin: 4px 0 0;
    padding-left: 18px;
    font-weight: normal;
    color: #4a5568;
}

.pvl-admin-quote-partners-box {
    margin-bottom: 20px;
    padding: 15px;
    background: #fffaf0;
    border-radius: 6px;
    border: 1px solid #f6e05e;
}

.pvl-admin-quote-partners-box__title {
    margin: 0 0 10px;
    color: #975a16;
    font-size: 14px;
}

.pvl-admin-quote-partners-box__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.pvl-admin-quote-partners-box__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #feebc8;
    flex-wrap: wrap;
}

.pvl-admin-quote-partners-box__notice {
    margin: 10px 0 0;
    font-size: 12px;
    color: #975a16;
}

.pvl-order-details-section-title {
    color: #2d3748;
    font-size: 15px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.pvl-order-products-table thead tr {
    background: #edf2f7;
    border-bottom: 1px solid #cbd5e0;
    text-align: left;
}

.pvl-order-products-table thead th {
    padding: 10px;
}

.pvl-order-products-table thead th.pvl-order-products-table__col-qty {
    text-align: center;
}

.pvl-order-products-table thead th.pvl-order-products-table__col-price,
.pvl-order-products-table thead th.pvl-order-products-table__col-total {
    text-align: right;
}

.pvl-order-products-table__col-validation {
    width: 140px;
}

.pvl-order-products-table__col-photo {
    width: 60px;
}

.pvl-order-products-table__empty {
    padding: 15px;
    text-align: center;
    color: #718096;
}

.pvl-partner-group-header td {
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.pvl-partner-group-header td:first-child {
    font-weight: bold;
    padding: 8px 10px;
    color: #2b6cb0;
}

.pvl-partner-group-header td:last-child {
    text-align: right;
    padding: 8px 10px;
}

.pvl-partner-group-header__validated {
    color: green;
    font-size: 0.85em;
    margin-left: 10px;
}

.pvl-partner-group-header__pending {
    color: #d69e2e;
    font-size: 0.85em;
    margin-left: 10px;
}

.pvl-order-product-row {
    border-bottom: 1px solid #edf2f7;
}

.pvl-order-product-row td {
    padding: 10px;
}

.pvl-order-product-row td.pvl-order-product-row__photo {
    text-align: center;
    vertical-align: middle;
}

.pvl-order-product-row td.pvl-order-product-row__designation {
    vertical-align: middle;
}

.pvl-order-product-row td.pvl-order-product-row__price {
    text-align: right;
    color: #4a5568;
}

.pvl-order-product-row td.pvl-order-product-row__qty {
    text-align: center;
    color: #4a5568;
}

.pvl-order-product-row td.pvl-order-product-row__total {
    text-align: right;
    font-weight: 600;
    color: #2d3748;
}

.pvl-item-status-badge {
    font-weight: 600;
    font-size: 0.85em;
    padding: 2px 6px;
    border-radius: 4px;
}

.pvl-item-status-badge--confirmed {
    background: #d4edda;
    color: #155724;
}

.pvl-item-status-badge--unavailable {
    background: #f8d7da;
    color: #721c24;
}

.pvl-item-status-badge--pending {
    background: #fff3cd;
    color: #856404;
}

.pvl-alternatives-row td {
    padding: 12px;
    background: #fff5f5;
    border-bottom: 1px solid #fed7d7;
}

.pvl-financial-summary {
    max-width: 400px;
    margin-left: auto;
    margin-bottom: 20px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pvl-financial-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #4a5568;
}

.pvl-financial-summary__row--tva {
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 8px;
}

.pvl-financial-summary__row--total {
    font-size: 1.1em;
    color: #2d3748;
    font-weight: bold;
    padding-top: 4px;
}

.pvl-financial-summary__row--total-no-tva {
    border-top: 1px dashed #e2e8f0;
    padding-top: 8px;
}

.pvl-financial-summary__value {
    font-weight: 600;
}

.pvl-financial-summary__total-value {
    color: var(--pvl-primary-color, #2c5282);
    font-size: 1.2em;
}

.pvl-financial-summary__caution {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    color: #718096;
    font-style: italic;
}

.pvl-financial-summary__caution-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #718096;
    font-style: italic;
}

.pvl-order-details-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px dashed #eee;
    padding-top: 15px;
    gap: 15px;
}

.pvl-order-details-actions__contracts-panel {
    width: 100%;
}

.pvl-order-details-actions__contracts-title {
    margin: 0 0 10px;
    font-size: 14px;
    color: #2d3748;
}

.pvl-order-contracts-summary {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #2c5282;
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: 4px;
    padding: 4px 8px;
    white-space: nowrap;
}

.pvl-order-details-actions__contracts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pvl-order-details-actions__partner {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.pvl-order-actions-admin {
    margin-top: 20px;
    padding: 15px;
    border-top: 2px solid #e2e8f0;
    background: #fdfdfd;
    border-radius: 6px;
}

.pvl-order-actions-admin__title {
    display: block;
    margin-bottom: 10px;
    color: #2d3748;
    font-size: 14px;
}

.pvl-order-actions-admin__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pvl-order-actions-admin__hint {
    margin-top: 10px;
    font-size: 12px;
    color: #718096;
}

.pvl-order-actions-admin__services-note {
    font-size: 12px;
    color: #975a16;
    margin-bottom: 8px;
}

.pvl-alternatives-row__actions {
    margin-bottom: 10px;
}

.pvl-order-details-actions__contracts .button {
    text-decoration: none;
    padding: 6px 12px;
}

.pvl-financial-summary__total-label {
    color: var(--pvl-primary-color, #2c5282);
}

.pvl-order-actions .button {
    text-decoration: none;
    padding: 4px 8px;
    font-size: 12px;
}

.pvl-order-main-row__empty-actions {
    font-size: 12px;
    color: #718096;
}

.pvl-order-details-actions .button[disabled] {
    background: #cbd5e0;
    color: #718096;
    border: none;
    cursor: not-allowed;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 4px;
    opacity: 0.75;
}

.pvl-order-details-actions .pvl-partner-validate-btn {
    cursor: pointer;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 4px;
}

.pvl-order-actions-admin .pvl-admin-confirm-btn {
    background: #38a169;
    color: #fff;
    border: none;
    font-weight: 600;
}

.pvl-order-actions-admin .pvl-cancel-order-btn {
    color: #e53e3e;
    border-color: #e53e3e;
    font-weight: 600;
}
