.container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.checkout-section,
.order-summary {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.checkout-section:hover,
.order-summary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.checkout-section h5,
.order-summary h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #32c455; 
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: inline-block;
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #32c455;
    box-shadow: 0 0 0 0.25rem rgba(50, 196, 85, 0.25);
}

.form-check-label {
    font-weight: 400;
    color: #444;
}

.form-check-input:checked {
    background-color: #32c455;
    border-color: #32c455;
}

.form-check-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    width: 20px;
    height: 20px;
    border: 1px solid #ccc; 
    border-radius: 4px; 
    margin-top: 2px;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.form-check-input:checked {
    background-color: #32c455; 
    border-color: #32c455;
    transform: scale(1.1); 
}

.form-check-input:checked:after {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 18px; 
}

.form-check-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    padding-left: 8px; 
}

.form-check-input:hover {
    box-shadow: 0 0 0 0.25rem rgba(50, 196, 85, 0.1);
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(50, 196, 85, 0.25);
}

/* Styling for all select elements with the form-select class */
.form-select {
    display: block;
    width: 100%;
    padding: 12px 15px; /* Matches the form-control padding */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); /* Custom SVG dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    border: 1px solid #ccc; 
    border-radius: 8px; 
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-select:focus {
    border-color: #32c455;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(50, 196, 85, 0.25);
}


@media (max-width: 991.98px) {
    .row.g-4 {
        flex-direction: column-reverse;
    }
}
