/* Section number badge */
.section-num {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: #1a3a6b;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Reveal animations for exemption / billing / event-date fields */
.reveal-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s, overflow 0s 0.25s;
}
.reveal-panel.open {
    max-height: 50rem;
    opacity: 1;
    overflow: visible;
    transition: max-height 0.25s ease, opacity 0.2s, overflow 0s 0s;
}

/* Payment method panels */
.payment-panel {
    display: none;
}
.payment-panel.active {
    display: block;
}

/* Card charge state indicator */
.card-charge-state {
    font-size: 0.8125rem;
}

/* Payment card block in split mode */
.payment-card-block + .payment-card-block {
    margin-top: 1rem;
}

/* Split amount fields — hidden by default */
.card-amount-field {
    display: none;
}
.split-mode .card-amount-field {
    display: block;
}

/* Promo code applied badge */
.promo-applied-badge {
    background: #eaf3de;
    border: 0.5px solid #97c459;
    border-radius: 0.25rem;
    padding: 0.375rem 0.625rem;
}

/* Promo discount badge in totals */
.promo-badge {
    font-size: 0.625rem;
    background: #eaf3de;
    color: #27500a;
    padding: 1px 0.3125rem;
    border-radius: 1.25rem;
}

/* Upload zone styling */
.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 0.25rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s;
    background: #fafafa;
}
.upload-zone:hover,
.upload-zone.dragover {
    border-color: #1a3a6b;
    background: #f0f4f8;
}
.upload-zone input[type="file"] {
    display: none;
}
.upload-zone .upload-zone-icon {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}
.upload-zone .upload-zone-text {
    font-size: 0.8125rem;
    color: #6c757d;
}
.upload-zone-file {
    font-size: 0.8125rem;
}
.upload-zone-file .fa-times {
    cursor: pointer;
    color: #dc3545;
}

/* Checkout summary proof thumbnails */
.checkout-proof-thumb {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
    flex-shrink: 0;
}
.checkout-proof-placeholder {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

/* Decline alert */
.decline-alert {
    background: #faeeda;
    border: 1px solid #ef9f27;
    color: #633806;
}


/* Responsive: xs/sm single column */
@media (max-width: 767.98px) {
    .checkout-sidebar {
        margin-top: 1rem;
    }
}
