.funnelpay-checkout-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 20px 0;
}

.funnelpay-checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #ffcccc;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.funnelpay-title {
    text-align: center;
    color: #0b2e59;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
}

.funnelpay-subtitle {
    text-align: center;
    color: #555;
    font-size: 15px;
    margin-bottom: 30px;
}

.funnelpay-field-group {
    margin-bottom: 20px;
}

.funnelpay-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.funnelpay-field-group input[type="text"],
.funnelpay-field-group input[type="email"],
.funnelpay-field-group input[type="tel"],
.funnelpay-field-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s;
    height: auto !important;
    min-height: 48px;
    line-height: 1.5 !important;
}

.funnelpay-phone-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.funnelpay-country-code {
    width: 145px !important;
    min-width: 145px !important;
    flex-shrink: 0;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.funnelpay-phone-wrapper .select2-container {
    width: 145px !important;
    min-width: 145px !important;
    flex-shrink: 0 !important;
}

.funnelpay-phone-wrapper input {
    flex-grow: 1;
}

.funnelpay-field-group input:focus,
.funnelpay-field-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.funnelpay-file-upload {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 10px;
    background-color: #f8fafc;
}

.funnelpay-file-upload input[type="file"] {
    width: 100%;
    font-size: 14px;
}

.funnelpay-pay-btn {
    width: 100%;
    padding: 16px;
    background-color: #e50914;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.funnelpay-pay-btn:hover {
    background-color: #b9090b;
}

.funnelpay-pay-btn:disabled {
    background-color: #fca5a5;
    cursor: not-allowed;
}

.funnelpay-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
    flex-wrap: wrap;
}

.funnelpay-badges span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Select2 Overrides */
.funnelpay-checkout-wrapper .select2-container--default .select2-selection--single,
.funnelpay-smart-selector .select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #fff !important;
}

.funnelpay-checkout-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered,
.funnelpay-smart-selector .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 15px !important;
    font-size: 15px !important;
    color: #333 !important;
}

.funnelpay-checkout-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow,
.funnelpay-smart-selector .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

.funnelpay-smart-selector .select2-container {
    max-width: 350px !important;
    margin: 0 auto !important;
    display: block !important;
    text-align: left !important;
}
