.checkout-custom-container {
    width: 90%; /* Occupe 90 % de la largeur */
    max-width: 1400px; /* Limite pour grands écrans */
    margin-left: auto; /* Centre le contenu */
    margin-right: auto;
    margin-top: 3rem;
    margin-bottom: 100px; /* Conserver la marge pour éviter le chevauchement avec bottom-nav */
    padding-left: 15px; /* Ajustement minimal */
    padding-right: 15px;
}

.checkout-title {
    font-size: 1.8rem;
    color: #2c2c54;
    margin-bottom: 1.5rem;
}

.checkout-subtitle {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0;
}

.checkout-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%; /* Occupe toute la largeur disponible */
    transition: transform 0.3s ease;
}

.checkout-card:hover {
    transform: translateY(-5px);
}

.checkout-card .card-header {
    background-color: #007bff;
    border-bottom: 1px solid #0056b3;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1rem;
}

.checkout-h3 {
    font-size: 1.4rem;
    color: #2c2c54;
    margin-bottom: 1.5rem;
}

.checkout-table-striped {
    border-radius: 0.5rem;
    overflow: hidden;
    width: 100%; /* Assure que le tableau utilise toute la largeur */
}

.checkout-table-striped th,
.checkout-table-striped td {
    padding: 1rem;
    vertical-align: middle;
}

.checkout-table-striped th {
    background-color: #007bff;
    color: #fff;
}

.checkout-table-striped tfoot th {
    font-weight: 600;
}

.checkout-footer-text {
    font-weight: 600;
}

.checkout-form-check {
    margin-bottom: 1.5rem;
}

.checkout-form-check-input {
    margin-top: 0.3rem;
}

.checkout-form-label {
    font-weight: 500;
    color: #2c2c54;
    margin-bottom: 0.5rem;
}

.checkout-form-control,
.checkout-form-select {
    border: 2px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 1rem;
    width: 100%; /* Assure que les champs occupent toute la largeur */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.checkout-client-field {
    width: 100%; /* Uniforme pour input et select */
    height: 46px; /* Hauteur cohérente */
    padding: 0.75rem; /* Ajustement pour correspondre à form-control */
}

.checkout-form-control:focus,
.checkout-form-select:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.checkout-btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.checkout-btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.checkout-btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    outline: none;
}

.checkout-alert {
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.checkout-alert-dismissible .btn-close {
    padding: 1rem;
}

.checkout-search-input,
.checkout-select-input {
    /* Redondant avec checkout-client-field, mais conservé pour clarté */
    width: 100%;
    height: 46px;
}