/* Custom Select2 styling to match our design */
.select2-container--default .select2-selection--single {
    height: 44px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding: 0;
    color: #334155;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 8px;
}
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.select2-dropdown {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0ea5e9;
}
/* Ensure Select2 dropdown appears above modal */
.select2-container {
    z-index: 9999;
}
.select2-dropdown {
    z-index: 9999;
}
/* Fix Select2 search input in modal */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e2e8f0;
    padding: 8px;
}

/* Payment Methods Styling */
.payment-intro {
    margin-bottom: 20px;
    color: #64748b;
    font-size: 14px;
}

.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.payment-method:hover {
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.payment-label {
    display: block;
    cursor: pointer;
    margin: 0;
    width: 100%;
}

.payment-radio {
    display: none;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.payment-radio:checked + .payment-option {
    background-color: #f0f9ff;
    border-left: 4px solid #0ea5e9;
}

.payment-radio:checked + .payment-option .payment-icon {
    color: #0ea5e9;
    background-color: rgba(14, 165, 233, 0.1);
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #64748b;
    transition: all 0.3s ease;
}

.payment-info h5 {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: #1e293b;
    font-size: 16px;
}

.payment-info p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Summary error text */
.text-error {
    color: #ef4444 !important;
    font-weight: 500;
}

/* CIF Container Styling */
.cif-input-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cif-input-container input {
    flex: 1;
    text-transform: uppercase;
}

.cif-loading {
    color: #0ea5e9;
    display: flex;
    align-items: center;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.cif-result {
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 6px;
    min-height: 36px;
    display: flex;
    align-items: center;
}

.cif-result.error {
    color: #ef4444;
    background-color: #fef2f2;
    border-color: #fecaca;
    font-weight: 600;
}
