/* ============================================================
   layout_custom.css — Modern Checkout & Layout System
   Font: Apple System Font Stack
   ============================================================ */

/* --- Global Font Override for Checkout --- */
.Block.ExpressCheckout.SecureCheckout,
.Block.ExpressCheckout.SecureCheckout *,
.ExpressCheckoutBlock,
.ExpressCheckoutBlock *,
.ExpressCheckoutContent,
.ExpressCheckoutContent * {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}


/* ============================================================
   1. THREE-COLUMN LAYOUT SYSTEM
   ============================================================ */

.layout-container {
    display: flex;
    width: 100%;
    position: relative;
    background: #f2f2f7;
    gap: 0;
}

/* Left Section */
.left-section {
    width: 260px;
    flex-shrink: 0;
    overflow-y: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-right: none;
}

.left-section.closed {
    margin-left: 0;
    width: 0;
    border-right: none;
}

/* Middle Section */
.middle-section {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    padding: 20px 8px;
    background: none;
    position: relative;
}

/* Right Section */
.right-section {
    width: 260px;
    flex-shrink: 0;
    overflow-y: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: none;
    box-shadow: none;
    z-index: 100;
    background: none;
}

.right-section.closed {
    margin-right: 0;
    width: 0;
    border-left: none;
}


/* ============================================================
   2. TOGGLE BUTTONS
   ============================================================ */

.toggle-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    border: none;
    padding: 18px 10px;
    cursor: pointer;
    z-index: 1000;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.toggle-btn:hover {
    background: linear-gradient(135deg, #006699 0%, #004466 100%);
    transform: translateY(-50%) scale(1.1);
}

.toggle-left {
    left: 0;
    border-radius: 0 8px 8px 0;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.left-section.closed~.toggle-left {
    left: 0;
}

.left-section:not(.closed)~.toggle-left {
    left: 0;
}

.toggle-right {
    right: 0;
    border-radius: 8px 0 0 8px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.right-section.closed~.toggle-right {
    right: 0;
}

.right-section:not(.closed)~.toggle-right {
    right: 0;
}


/* ============================================================
   3. MAIN CHECKOUT CONTAINER
   ============================================================ */

.Block.ExpressCheckout.SecureCheckout {
    margin: 24px auto !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.08) !important;
    padding: 36px 40px !important;
    border: none !important;
}

/* Page Title — "Secure Checkout" */
.Block.ExpressCheckout.SecureCheckout>h2 {
    background: transparent !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    margin-bottom: 36px !important;
    text-align: left !important;
    border-bottom: 1px solid #e8e8ed !important;
    padding-bottom: 18px !important;
    text-transform: none !important;
    letter-spacing: -0.022em !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    line-height: 1.15 !important;
}


/* ============================================================
   4. STEP ACCORDION BLOCKS
   ============================================================ */

.ExpressCheckoutBlock {
    background: #ffffff !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 14px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    transition: box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.ExpressCheckoutBlock:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    border-color: #c7c7cc !important;
}

/* Active (current) step — blue ring */
.ExpressCheckoutBlock:not(.ExpressCheckoutBlockCompleted):not(.ExpressCheckoutBlockCollapsed) {
    border: 2px solid #0071e3 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}


/* ============================================================
   5. STEP HEADER BAR (h3.iphoneDiv)
   ============================================================ */

.ExpressCheckoutBlock h3.iphoneDiv {
    background: #fafafa !important;
    color: #1d1d1f !important;
    padding: 18px 24px !important;
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #e8e8ed !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
}

/* Step badge (number circle) */
.step-badge {
    background: #0071e3 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-right: 14px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

/* Completed step badge → green check */
.ExpressCheckoutBlockCompleted .step-badge {
    background: #34c759 !important;
    color: #ffffff !important;
}

/* Step title text */
.step-title {
    font-weight: 600 !important;
    color: #1d1d1f !important;
    font-size: 17px !important;
    letter-spacing: -0.01em !important;
}

/* Modify/Change link */
.ExpressCheckoutBlock h3.iphoneDiv a.ChangeLink {
    margin-left: auto !important;
    background: #f5f5f7 !important;
    color: #0071e3 !important;
    padding: 6px 18px !important;
    border-radius: 980px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    float: none !important;
    border: 1px solid #d2d2d7 !important;
    letter-spacing: 0 !important;
}

.ExpressCheckoutBlock h3.iphoneDiv a.ChangeLink:hover {
    background: #0071e3 !important;
    color: #ffffff !important;
    border-color: #0071e3 !important;
}

/* Completed content summary text */
.ExpressCheckoutCompletedContent {
    color: #1d1d1f !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    margin-left: 14px !important;
    position: static !important;
    opacity: 0.65 !important;
}


/* ============================================================
   6. STEP CONTENT AREA
   ============================================================ */

.ExpressCheckoutContent {
    padding: 28px 32px !important;
    background: #ffffff !important;
}


/* ============================================================
   7. FORM ELEMENTS — Inputs, Selects, Textareas
   ============================================================ */

.ExpressCheckoutContent input[type="text"],
.ExpressCheckoutContent input[type="password"],
.ExpressCheckoutContent input[type="email"],
.ExpressCheckoutContent input[type="number"],
.ExpressCheckoutContent input[type="tel"],
.ExpressCheckoutContent select,
.ExpressCheckoutContent textarea,
.form-control-checkout {
    width: 100% !important;
    max-width: 100% !important;
    padding: 11px 14px !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #1d1d1f !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    background: #ffffff !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.ExpressCheckoutContent input:focus,
.ExpressCheckoutContent select:focus,
.ExpressCheckoutContent textarea:focus,
.form-control-checkout:focus {
    border-color: #0071e3 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15) !important;
}

/* Labels */
.ExpressCheckoutContent label {
    font-weight: 500 !important;
    color: #1d1d1f !important;
    margin-bottom: 6px !important;
    display: inline-block !important;
    font-size: 14px !important;
    letter-spacing: -0.01em !important;
}

/* Placeholder styling */
.ExpressCheckoutContent input::placeholder,
.form-control-checkout::placeholder {
    color: #86868b !important;
    opacity: 1 !important;
}


/* ============================================================
   8. BUTTONS
   ============================================================ */

/* Primary */
.ExpressCheckoutContent .btn-primary,
.ExpressCheckoutContent .btn-success,
#CreateAccountButton,
#LoginButton {
    background: #0071e3 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 980px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    box-shadow: none !important;
    text-shadow: none !important;
    letter-spacing: -0.01em !important;
    line-height: 1.4 !important;
}

.ExpressCheckoutContent .btn-primary:hover,
.ExpressCheckoutContent .btn-success:hover,
#CreateAccountButton:hover,
#LoginButton:hover {
    background: #0077ed !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
}

.ExpressCheckoutContent .btn-primary:active,
.ExpressCheckoutContent .btn-success:active,
#CreateAccountButton:active,
#LoginButton:active {
    transform: scale(0.98) !important;
    box-shadow: none !important;
}

/* Secondary */
.ExpressCheckoutContent .btn-secondary,
.ExpressCheckoutContent .btn-secondary:focus {
    background: #ffffff !important;
    color: #1d1d1f !important;
    border: 1px solid #d2d2d7 !important;
    padding: 12px 28px !important;
    border-radius: 980px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    letter-spacing: -0.01em !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}

.ExpressCheckoutContent .btn-secondary:hover {
    background: #f5f5f7 !important;
    border-color: #86868b !important;
}

/* --- Generic .btn styling within checkout scope --- */
.ExpressCheckoutContent .btn,
.activation_info_preview_container .btn,
.PaymentOptions .btn,
.CheckoutOrderComments .btn,
.CheckoutHideOrderTermsAndConditions .btn,
.edit-out-div .btn {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    border-radius: 980px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: -0.01em !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}


/* ============================================================
   9. RADIO & CHECKBOX STYLING
   ============================================================ */

.ExpressCheckoutContent input[type="radio"]:checked {
    border-color: #0071e3 !important;
    background: #ffffff !important;
}

.ExpressCheckoutContent input[type="radio"]:checked::after {
    content: "" !important;
    position: absolute !important;
    top: 4px !important;
    left: 4px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #0071e3 !important;
}

/* Modern radio wrapper */
.modern-radio {
    padding: 12px 16px !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 12px !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
    cursor: pointer !important;
}

.modern-radio:hover {
    border-color: #c7c7cc !important;
    background: #fafafa !important;
}


/* ============================================================
   10. CHECKOUT STEP 1 — ACCOUNT DETAILS CARDS
   ============================================================ */

.checkout-modern-card {
    background: #ffffff !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 14px !important;
    padding: 28px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.checkout-modern-card:hover {
    border-color: #c7c7cc !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

.checkout-modern-card h4 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.022em !important;
}

/* Modern bullet list (for account creation benefits) */
.modern-bullet-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.modern-bullet-list li {
    padding: 8px 0 !important;
    font-size: 15px !important;
    color: #424245 !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
}

.modern-bullet-list li i.fa-check {
    color: #34c759 !important;
    margin-right: 10px !important;
    font-size: 14px !important;
}

/* Login form group */
.modern-input-group label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    margin-bottom: 6px !important;
}

/* Forgot password link */
.forgot-pwd-link {
    color: #0071e3 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.forgot-pwd-link:hover {
    color: #0077ed !important;
    text-decoration: underline !important;
}


/* ============================================================
   11. CHOOSE ADDRESS STEP — details-out-div
   ============================================================ */

.details-out-div {
    padding: 4px 0 !important;
}

.details-out-div p {
    font-size: 15px !important;
    color: #424245 !important;
    margin-bottom: 20px !important;
}

/* Address select dropdown */
.details-out-div select.form-control-checkout {
    max-width: 100% !important;
    border-radius: 10px !important;
    min-height: 110px !important;
    padding: 8px !important;
    font-size: 14px !important;
    border: 1px solid #d2d2d7 !important;
    background: #ffffff !important;
}

/* "Add New Address" block */
.details-out-div .AddBillingAddress,
.details-out-div .AddShippingAddress {
    background: #f5f5f7 !important;
    border-radius: 14px !important;
    border: 1px solid #e8e8ed !important;
    padding: 24px !important;
}

/* Dynamic form fields inside address */
.dynamic-form-fields-container .form-group,
.dynamic-form-fields-container .FormField {
    margin-bottom: 16px !important;
}

.dynamic-form-fields-container label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1d1d1f !important;
}


/* ============================================================
   12. SERVICE SELECTION (ChooseService / ServiceButtonTables)
   ============================================================ */

.serviceRadioContainer {
    padding: 0 !important;
}

.service_product_rows {
    background: #f5f5f7 !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 14px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    transition: border-color 0.2s ease !important;
}

.service_product_rows:hover {
    border-color: #c7c7cc !important;
}

.service_product_name {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.01em !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e8e8ed !important;
}

/* Service radio list */
.service_product_rows .list-unstyled {
    padding: 0 !important;
    margin: 0 !important;
}

.service_product_rows .list-unstyled li {
    padding: 10px 0 !important;
    font-size: 15px !important;
    color: #424245 !important;
}

.service_product_rows .list-unstyled li label {
    cursor: pointer !important;
}

/* Inline label for "Choose Service" */
.service_product_rows .control-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    margin-bottom: 10px !important;
}

/* Ring to # field */
.service_product_rows .form-group label {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Small footnote text */
.cart_small_font {
    font-size: 12px !important;
    color: #86868b !important;
    line-height: 1.5 !important;
    margin-top: 8px !important;
}

/* Service + Choose Service buttons row */
.serviceRadioContainer .form-group.text-right {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e8e8ed !important;
    margin-top: 8px !important;
}

/* Override .input_lbl from ServiceButtonTables inline */
.input_lbl {
    float: left;
    font-size: 14px !important;
    line-height: 40px;
    color: #1d1d1f !important;
    font-weight: 500 !important;
}


/* ============================================================
   13. CONFIRMATION STEP — Order Review
   ============================================================ */

/* "Review the contents..." row with Edit button */
.edit-out-div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #e8e8ed !important;
}

.edit-out-div p {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #424245 !important;
}

/* Cart Contents table */
table.CartContents {
    width: 100% !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 12px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}

table.CartContents thead tr th {
    background: #f5f5f7 !important;
    border-bottom: 1px solid #e8e8ed !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #86868b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

table.CartContents tbody tr td {
    padding: 16px !important;
    font-size: 15px !important;
    color: #1d1d1f !important;
    border-bottom: 1px solid #f2f2f7 !important;
    vertical-align: top !important;
}

table.CartContents tbody tr:last-child td {
    border-bottom: none !important;
}

.CartContents tfoot .SubTotal td {
    border-top: 1px solid #e8e8ed !important;
    padding: 12px 16px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* Override the old border_bottom_gray */
.border_bottom_gray {
    border-bottom: 1px solid #e8e8ed !important;
}


/* ============================================================
   14. ACTIVATION INFO PREVIEW (Confirmation Page)
   ============================================================ */

.activation_info_preview_container {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

/* Override the old .head / .head h3 inline styles */
.activation_info_preview_container .head,
.PaymentOptions .head,
.CheckoutOrderComments .head,
.CheckoutHideOrderTermsAndConditions .head {
    background: #f5f5f7 !important;
    border-radius: 12px 12px 0 0 !important;
    border: 1px solid #e8e8ed !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
}

.activation_info_preview_container .head h3,
.PaymentOptions .head h3,
.CheckoutOrderComments .head h3,
.CheckoutHideOrderTermsAndConditions .head h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    background: transparent !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    text-align: left !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
    position: static !important;
    overflow: visible !important;
    white-space: normal !important;
    border-radius: 0 !important;
}

/* Remove the old pseudo element trapezoid */
.activation_info_preview_container .head h3::after,
.PaymentOptions .head h3::after,
.CheckoutOrderComments .head h3::after,
.CheckoutHideOrderTermsAndConditions .head h3::after {
    display: none !important;
    content: none !important;
}

/* Override the old .box_detail with border */
.activation_info_preview_container .box_detail,
.PaymentOptions .box_detail,
.CheckoutOrderComments .box_detail,
.CheckoutHideOrderTermsAndConditions .box_detail {
    border: 1px solid #e8e8ed !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    padding: 24px !important;
    background: #ffffff !important;
}

/* Override legacy .outdiv */
.outdiv {
    width: 100% !important;
    margin-bottom: 20px !important;
}

/* Account info key/value pairs */
.account_info {
    width: 50% !important;
    float: left !important;
    padding: 8px 0 !important;
    height: auto !important;
    border-bottom: 1px solid #f2f2f7 !important;
    font-size: 14px !important;
    color: #424245 !important;
    line-height: 1.5 !important;
}

.text_bold {
    font-weight: 600 !important;
    color: #1d1d1f !important;
}


/* ============================================================
   15. PAYMENT OPTIONS
   ============================================================ */

.PaymentOptions {
    margin-top: 24px !important;
}

.PaymentOptions .PL20 {
    padding-left: 0 !important;
}

.PaymentOptions label {
    font-size: 15px !important;
    color: #1d1d1f !important;
    cursor: pointer !important;
}

/* Store credit table */
.PaymentOptions table[cellpadding] {
    width: 100% !important;
    max-width: 400px !important;
}

.PaymentOptions table td {
    padding: 6px 12px 6px 0 !important;
    font-size: 14px !important;
    color: #424245 !important;
}

.PaymentOptions table td strong {
    color: #1d1d1f !important;
}

/* Provider list — radio + label are sibling elements, not nested.
   We hide the raw radio and style the label as a clickable card.
   The label's `for` attribute links it to the radio so clicks still work. */
#provider_list,
#credit_provider_list {
    /* padding: 16px 0 !important; */
}

/* Hide the standalone radio inputs — the label for= handles clicks */
#provider_list>input[type="radio"],
#credit_provider_list>input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide the <br/> tags between options */
#provider_list>br,
#credit_provider_list>br {
    display: none !important;
}

/* Style labels as selectable cards with a radio indicator */
#provider_list label,
#credit_provider_list label {
    display: flex !important;
    align-items: center !important;
    padding: 14px 18px !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
    font-size: 15px !important;
    position: relative !important;
    padding-left: 46px !important;
}

/* Custom radio circle inside the label */
#provider_list label::before,
#credit_provider_list label::before {
    content: '' !important;
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #d2d2d7 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

/* When the radio before the label is checked, highlight the label */
#provider_list>input[type="radio"]:checked+label,
#credit_provider_list>input[type="radio"]:checked+label {
    border-color: #0071e3 !important;
    background: #f0f5ff !important;
}

#provider_list>input[type="radio"]:checked+label::before,
#credit_provider_list>input[type="radio"]:checked+label::before {
    border-color: #0071e3 !important;
    background: #0071e3 !important;
    box-shadow: inset 0 0 0 3px #ffffff !important;
}

#provider_list label:hover,
#credit_provider_list label:hover {
    background: #f5f5f7 !important;
    border-color: #c7c7cc !important;
}

.ProductPrice {
    font-weight: 700 !important;
    color: #1d1d1f !important;
}


/* ============================================================
   16. ORDER COMMENTS
   ============================================================ */

.CheckoutOrderComments textarea {
    width: 100% !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 10px !important;
    padding: 14px !important;
    font-size: 15px !important;
    color: #1d1d1f !important;
    resize: vertical !important;
    min-height: 100px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    background: #ffffff !important;
}

.CheckoutOrderComments textarea:focus {
    border-color: #0071e3 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15) !important;
}


/* ============================================================
   17. TERMS & CONDITIONS
   ============================================================ */

.CheckoutHideOrderTermsAndConditions textarea {
    width: 100% !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 10px !important;
    padding: 14px !important;
    font-size: 14px !important;
    color: #424245 !important;
    background: #f5f5f7 !important;
    min-height: 100px !important;
}

.CheckoutHideOrderTermsAndConditions .MT10 {
    margin-top: 16px !important;
}

.CheckoutHideOrderTermsAndConditions .MT10 label {
    font-size: 15px !important;
    color: #1d1d1f !important;
    cursor: pointer !important;
}


/* ============================================================
   18. BOTTOM ACTION ROW (Confirm Order / Back)
   ============================================================ */

.ExpressCheckoutContent>p.text-right,
.PL20.text-right {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 20px 0 0 !important;
    border-top: 1px solid #e8e8ed !important;
    margin-top: 24px !important;
}

/* Confirm Order button */
#bottom_payment_button {
    background: #0071e3 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 36px !important;
    border-radius: 980px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    letter-spacing: -0.01em !important;
}

#bottom_payment_button:hover {
    background: #0077ed !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
}


/* ============================================================
   19. TYPOGRAPHY POLISH
   ============================================================ */

.ExpressCheckoutContent p {
    color: #424245 !important;
    line-height: 1.6 !important;
    font-size: 15px !important;
}

/* Error / Success messages */
.ExpressCheckoutContent .ErrorMessage,
.ErrorMessage {
    background: #fff2f2 !important;
    color: #ff3b30 !important;
    border: 1px solid #ffd1cf !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.ExpressCheckoutContent .SuccessMessage,
.SuccessMessage {
    background: #f0faf4 !important;
    color: #34c759 !important;
    border: 1px solid #c6f0d5 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}


/* ============================================================
   20. RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .layout-container {
        flex-direction: column;
    }

    .left-section,
    .right-section {
        width: 100%;
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100%;
    }

    .left-section {
        left: 0;
        transform: translateX(0);
    }

    .left-section.closed {
        transform: translateX(-100%);
        width: 100%;
    }

    .right-section {
        right: 0;
        transform: translateX(0);
    }

    .right-section.closed {
        transform: translateX(100%);
        width: 100%;
    }

    .Block.ExpressCheckout.SecureCheckout {
        padding: 20px 16px !important;
        border-radius: 12px !important;
        margin: 12px 4px !important;
    }

    .Block.ExpressCheckout.SecureCheckout>h2 {
        font-size: 22px !important;
    }

    .ExpressCheckoutBlock h3.iphoneDiv {
        padding: 14px 16px !important;
        font-size: 15px !important;
    }

    .step-badge {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        font-size: 12px !important;
        margin-right: 10px !important;
    }

    .ExpressCheckoutContent {
        padding: 20px 16px !important;
    }

    .ExpressCheckoutContent input[type="text"],
    .ExpressCheckoutContent input[type="password"],
    .ExpressCheckoutContent input[type="email"],
    .ExpressCheckoutContent select,
    .form-control-checkout {
        width: 100% !important;
        max-width: 100% !important;
    }

    .account_info {
        width: 100% !important;
        float: none !important;
    }

    table.CartContents thead tr th,
    table.CartContents tbody tr td {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .service_product_rows {
        padding: 16px !important;
    }

    .checkout-modern-card {
        padding: 20px !important;
    }

    /* Stack buttons vertically on mobile */
    .serviceRadioContainer .form-group.text-right,
    .PL20.text-right,
    .ExpressCheckoutContent>p.text-right {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .serviceRadioContainer .form-group.text-right .btn,
    .PL20.text-right .btn,
    .PL20.text-right input[type="submit"] {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .Block.ExpressCheckout.SecureCheckout {
        padding: 16px 10px !important;
        margin: 8px 0 !important;
    }

    .ExpressCheckoutContent {
        padding: 16px 12px !important;
    }

    .checkout-modern-card {
        padding: 16px !important;
    }
}


/* ============================================================
   21. MISCELLANEOUS UTILITY OVERRIDES
   ============================================================ */

/* Fix old .PL20 padding override */
.PL20 {
    padding-left: 0 !important;
}

/* Fix old .MB10 spacing */
.MB10 {
    margin-bottom: 12px !important;
}

/* Fix old .MT10 spacing */
.MT10 {
    margin-top: 12px !important;
}

/* Service text in cart */
.service_text {
    font-size: 14px !important;
    color: #424245 !important;
    font-weight: 500 !important;
}

/* One-time fee label */
.OneTimeText {
    font-size: 12px !important;
    color: #86868b !important;
    display: block !important;
    margin-bottom: 2px !important;
}

/* Loading indicator */
.LoadingIndicator img {
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle !important;
}

/* Cursor pointer helper */
.cursor-pointer {
    cursor: pointer !important;
}

/* Red color for required asterisk */
.red-color {
    color: #ff3b30 !important;
}

/* ============================================================
   22. ACTIVATION INFO FORM (AccountInfoDetails)
   ============================================================ */

.AccountInfoContainer {
    margin-top: 20px !important;
}

.activation-info-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #e8e8ed !important;
    letter-spacing: -0.01em !important;
}

.checkout-field-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.AccountInfoContainer select.form-control-checkout,
.AccountInfoContainer select.form-control,
select#account_info_state {
    height: auto !important;
    min-height: 0 !important;
    padding: 11px 14px !important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    background-image: none !important;
}

#accountInfoSaveButton {
    padding: 10px 32px !important;
    font-size: 15px !important;
}


/* ============================================================
   23. SERVICE SELECTION LAYOUT FIXES
   ============================================================ */

.service_product_rows .form-group.overflow {
    overflow: visible !important;
    display: block !important;
    margin-bottom: 16px !important;
}

.service_product_rows .control-label {
    display: block !important;
    float: none !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
}

.service_product_rows .col-md-10,
.service_product_rows .col-md-11 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
}

.service_product_rows .col-md-1 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
}

.service_product_rows .form-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    margin-bottom: 12px !important;
}

.service_product_rows .form-group .control-label.text-left {
    flex: 0 0 auto !important;
    width: auto !important;
    margin-right: 12px !important;
    padding-top: 8px !important;
}

.service_product_rows .col-lg-4 {
    flex: 1 !important;
    max-width: 400px !important;
}

.service_product_rows .form-group .col-sm-12.col-md-12.col-lg-4 {
    padding-left: 0 !important;
}

.service_product_rows .cart_small_font {
    width: 100% !important;
    flex: 0 0 100% !important;
}


/* ============================================================
   24. CART TABLE ALIGNMENT FIXES
   ============================================================ */

.CartContents tfoot tr td {
    padding: 10px 16px !important;
    font-size: 14px !important;
}

.CartContents tfoot tr td:last-child {
    text-align: right !important;
}

.CartContents tfoot .SubTotal td:first-child,
.CartContents tfoot .SubTotal td:nth-child(2) {
    text-align: right !important;
}

.ExpressCheckoutContent .ProductCode {
    font-size: 11px !important;
    color: #86868b !important;
    margin-top: 4px !important;
}

table.CartContents tbody tr td:last-child {
    text-align: right !important;
}

table.CartContents tbody tr td:nth-child(2) {
    text-align: center !important;
}


/* ============================================================
   25. BACK/NEXT BUTTON ROWS
   ============================================================ */

.form-group.text-right,
.d-flex.justify-content-end {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
    padding-top: 20px !important;
    margin-top: 16px !important;
}

.ExpressCheckoutContent .btn-success,
.serviceRadioContainer .btn-success,
.ShippingProviderContent .btn-success,
.form-group.text-right .btn-success {
    background: #0071e3 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 980px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-shadow: none !important;
    background-image: none !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.ExpressCheckoutContent .btn-success:hover,
.serviceRadioContainer .btn-success:hover,
.ShippingProviderContent .btn-success:hover,
.form-group.text-right .btn-success:hover {
    background: #0077ed !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
}

.ML20 {
    margin-left: 0 !important;
}


/* ============================================================
   26. ELECTRONIC DELIVERY / SHIPPING STEP
   ============================================================ */

.ShippingProviderContent {
    padding: 28px 32px !important;
}

.ShippingProviderContent p {
    font-size: 15px !important;
    color: #424245 !important;
    margin-bottom: 16px !important;
}

.ShippingProviderContent li {
    padding: 12px 16px !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    list-style: none !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}

.ShippingProviderContent li:hover {
    background: #f5f5f7 !important;
    border-color: #c7c7cc !important;
}

.ShippingProviderContent li label {
    cursor: pointer !important;
    font-size: 15px !important;
    color: #1d1d1f !important;
    margin-left: 8px !important;
}

.ShippingProviderContent ul {
    padding: 0 !important;
    margin: 0 !important;
}

.ShippingProviderContent .text-right {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e8e8ed !important;
    margin-top: 16px !important;
}


/* ============================================================
   27. CONFIRMATION PAGE SECTION HEADERS
   ============================================================ */

.head {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    margin: 0 !important;
    text-align: left !important;
    height: auto !important;
    border-bottom: none !important;
    flex: none !important;
}

.head h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    background: #f5f5f7 !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    text-align: left !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
    position: static !important;
    overflow: visible !important;
    white-space: normal !important;
    border-radius: 12px 12px 0 0 !important;
    border: 1px solid #e8e8ed !important;
    border-bottom: none !important;
    text-overflow: clip !important;
}

.head h3::after {
    display: none !important;
    content: none !important;
    background: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

.box_detail {
    border: 1px solid #e8e8ed !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    padding: 24px !important;
    background: #ffffff !important;
}

.activation_info_preview_container .edit-out-div {
    border-bottom: 1px solid #e8e8ed !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}

.form-fields {
    display: flex !important;
    width: 100% !important;
    overflow: hidden !important;
}

.form-fields .account_info {
    flex: 0 0 50% !important;
    width: 50% !important;
    float: none !important;
}

p.PL20.text-right.mt-3,
.PL20.text-right.mt-3 {
    padding-left: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    align-items: center !important;
    padding-top: 20px !important;
    border-top: 1px solid #e8e8ed !important;
    margin-top: 24px !important;
}


/* ============================================================
   28. FORM FIELD ROWS (BootstrapCustomFormBuilder)
   ============================================================ */

.BootstrapCustomFormBuilder .FormField {
    margin-bottom: 16px !important;
}

.BootstrapCustomFormBuilder label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1d1d1f !important;
    margin-bottom: 5px !important;
}

.BootstrapCustomFormBuilder input[type="text"],
.BootstrapCustomFormBuilder input[type="email"],
.BootstrapCustomFormBuilder input[type="tel"],
.BootstrapCustomFormBuilder select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 11px 14px !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.BootstrapCustomFormBuilder input:focus,
.BootstrapCustomFormBuilder select:focus {
    border-color: #0071e3 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15) !important;
}

.BootstrapCustomFormBuilder select {
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    height: auto !important;
}

/* ============================================================
   29. REFINED STEP BLOCK STYLING (Remove Nested Frames)
   ============================================================ */

.ExpressCheckoutBlock {
    border: 1px solid #e8e8ed !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: none !important;
    margin-bottom: 16px !important;
}

/* Active step - highlight only with a side bar or subtle border color */
.ExpressCheckoutBlock.ExpressCheckoutBlockActive {
    border-color: #0071e3 !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.08) !important;
}

/* Header within the step block */
.ExpressCheckoutBlock h3 {
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e8e8ed !important;
    background: #f5f5f7 !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.ExpressCheckoutBlockActive h3 {
    background: #ffffff !important;
    border-bottom-color: #f2f2f7 !important;
}

.ExpressCheckoutBlockCollapsed h3 {
    border-bottom: none !important;
    cursor: pointer !important;
}

/* Content area within step block */
.ExpressCheckoutContent {
    padding: 24px !important;
    border: none !important;
}

/* ============================================================
   30. MODERN PAYMENT METHOD CARDS (As requested by Client)
   ============================================================ */

#provider_list,
#credit_provider_list {
    /* display: flex !important; */
    /* flex-direction: column !important; */
    /* gap: 12px !important; */
    /* padding-top: 10px !important; */
}

/* Each payment option as a card */
.ExpressCheckoutContent .payment-provider-container,
#provider_list br,
#credit_provider_list br {
    display: none !important;
    /* Hide old breaks */
}

/* We need to target the radio + label combo */
#provider_list input[type="radio"],
#credit_provider_list input[type="radio"] {
    margin-top: 0 !important;
    margin-right: 12px !important;
}

/* Styling the container of radio/label if possible, or using siblings */
/* Since we can't easily wrap the HTML without changing snippets too much, we use CSS hacks */

#provider_list label,
#credit_provider_list label {
    display: block !important;
    padding: 16px 20px !important;
    background: #fbfbfd !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 10px !important;
    margin-bottom: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
    color: #1d1d1f !important;
    width: 100% !important;
}

#provider_list label:hover,
#credit_provider_list label:hover {
    background: #ffffff !important;
    border-color: #0071e3 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}



/* active state for the label when radio is checked */
#provider_list input[type="radio"]:checked+label,
#credit_provider_list input[type="radio"]:checked+label {
    border-color: #0071e3 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 1px #0071e3 !important;
}

/* ============================================================
   31. MODERN ADDRESS LISTBOX (Billing Address)
   ============================================================ */

select[name="sel_shipping_address"],
select[name="sel_billing_address"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: #ffffff !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 10px !important;
    padding: 10px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    height: auto !important;
    min-height: 100px !important;
    width: 100% !important;
    outline: none !important;
}

select[name="sel_shipping_address"] option,
select[name="sel_billing_address"] option {
    padding: 12px 14px !important;
    border-radius: 6px !important;
    margin-bottom: 4px !important;
    background: #fbfbfd !important;
    border: 1px solid transparent !important;
}

select[name="sel_shipping_address"] option:checked,
select[name="sel_billing_address"] option:checked {
    background: #e1f0ff !important;
    color: #0071e3 !important;
    font-weight: 600 !important;
}


/* ============================================================
   32. FINAL POLISH - STEP BLOCKS & ALIGNMENT
   ============================================================ */

/* Remove the main content horizontal padding to make blocks flush if needed, 
   but here we want them to look like cards */
.Block.ExpressCheckout.SecureCheckout {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.Block.ExpressCheckout.SecureCheckout h2 {
    padding: 0 20px 20px 20px !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    color: #1d1d1f !important;
}

/* Redefine Step Block for a cleaner, non-nested look */
.ExpressCheckoutBlock {
    border: 1px solid #d2d2d7 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    margin-bottom: 24px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ExpressCheckoutBlock h3.iphoneDiv {
    background: #f5f5f7 !important;
    padding: 18px 24px !important;
    border: none !important;
    border-bottom: 1px solid #d2d2d7 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 17px !important;
    color: #1d1d1f !important;
}

.ExpressCheckoutBlock.ExpressCheckoutBlockCollapsed h3.iphoneDiv {
    border-bottom: none !important;
}

.ExpressCheckoutBlock.ExpressCheckoutBlockActive {
    border-color: #0071e3 !important;
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.12) !important;
}

.ExpressCheckoutBlock.ExpressCheckoutBlockActive h3.iphoneDiv {
    background: #ffffff !important;
    border-bottom-color: #f5f5f7 !important;
}

/* Content within step */
.ExpressCheckoutContent {
    padding: 32px 24px !important;
}

/* Payment Provider Grid Layout */
#provider_list {
    /* display: grid !important; */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    /* gap: 16px !important; */
    /* padding-top: 20px !important; */
}

#provider_list br {
    display: none !important;
}

/* Payment Method Card */
#provider_list label {
    display: flex !important;
    align-items: center !important;
    padding: 20px !important;
    background: #fbfbfd !important;
    border: 1.5px solid #d2d2d7 !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    position: relative !important;
    height: 100% !important;
    margin: 0 !important;
}

#provider_list input[type="radio"] {
    margin: 0 16px 0 0 !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

#provider_list input[type="radio"]:checked+label {
    border-color: #0071e3 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.1) !important;
}

/* Step 1 Choose Service Alignment */
.serviceRadioContainer {
    max-width: 800px !important;
    margin: 0 auto !important;
}

.serviceRadioContainer .form-group {
    margin-bottom: 24px !important;
}

/* Address List Modernization */
select[size="5"].form-control-checkout {
    background: #ffffff !important;
    border: 1.5px solid #d2d2d7 !important;
    padding: 8px !important;
    font-family: inherit !important;
    font-size: 15px !important;
}

select[size="5"].form-control-checkout option {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
    word-break: break-word !important;
    cursor: pointer !important;
}

select[size="5"].form-control-checkout option:hover {
    background: #f5f5f7 !important;
}


/* ============================================================
   33. MODERN RADIO BUTTON ALIGNMENT (REFINED)
   ============================================================ */

/* Target the payment providers specifically */
#provider_list,
#credit_provider_list {
    /* display: flex !important; */
    /* flex-direction: column !important; */
    /* gap: 12px !important; */
}

/* Redefine the provider item styling */
#provider_list input[type="radio"],
#credit_provider_list input[type="radio"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border: 1.5px solid #d2d2d7 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 16px 0 0 !important;
    position: relative !important;
    top: 0 !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

#provider_list input[type="radio"]:checked,
#credit_provider_list input[type="radio"]:checked {
    border-color: #0071e3 !important;
    background: #ffffff !important;
}

#provider_list input[type="radio"]:checked::after,
#credit_provider_list input[type="radio"]:checked::after {
    content: '' !important;
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #0071e3 !important;
}

/* The label should be stylized as a card, but ensure content alignment */
#provider_list label,
#credit_provider_list label {
    display: flex !important;
    align-items: center !important;
    padding: 16px 20px !important;
    background: #fbfbfd !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 12px !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    font-size: 15px !important;
    color: #1d1d1f !important;
    font-weight: 500 !important;
    line-height: normal !important;
}

#provider_list label:hover,
#credit_provider_list label:hover {
    background: #ffffff !important;
    border-color: #0071e3 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* Align radio + label combo */
/* Since it's <input><label><br>, we hide the original radio and put a custom one inside or next to label */
/* Better yet, let's treat the label as a container for the radio's text and style the radio next to it */

#provider_list,
#credit_provider_list {
    /* display: flex !important; */
    /* flex-direction: column !important; */
    /* gap: 12px !important; */
}

/* Hide the <br> tags completely inside these lists */
#provider_list br,
#credit_provider_list br {
    display: none !important;
}

/* If the radio is outside the label, we can't easily wrap them without changing HTML. 
   So we'll make each 'item' a flex row. Since there's no wrapper div, we'll style the input and label as blocks. */

/* Let's try to make the label a block that contains nothing but text, and position the radio on top of it. */

#provider_list input[type="radio"],
#credit_provider_list input[type="radio"] {
    z-index: 2 !important;
    pointer-events: none !important;
    /* Click goes to label */
    margin-right: -22px !important;
    /* Overlap with label padding */
    margin-left: 20px !important;
    float: left !important;
    /* margin-top: 18px !important; */
    /* Center with label padding (16px + text) */
}

#provider_list label,
#credit_provider_list label {
    padding-left: 56px !important;
    /* Leave space for radio (20px + margins) */
    z-index: 1 !important;
}


/* ============================================================
   34. MODERN CHECKBOX STYLING & ALIGNMENT
   ============================================================ */

.ExpressCheckoutContent input[type="checkbox"],
#OrderConfirmationForm input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 1.5px solid #d2d2d7 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 12px !important;
    position: relative !important;
    top: -1px !important;
    transition: all 0.2s ease !important;
}

.ExpressCheckoutContent input[type="checkbox"]:checked,
#OrderConfirmationForm input[type="checkbox"]:checked {
    background-color: #0071e3 !important;
    border-color: #0071e3 !important;
}

.ExpressCheckoutContent input[type="checkbox"]:checked::after,
#OrderConfirmationForm input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 6px !important;
    height: 11px !important;
    border: solid white !important;
    border-width: 0 2.5px 2.5px 0 !important;
    transform: rotate(45deg) !important;
}

.ExpressCheckoutContent label,
#OrderConfirmationForm label {
    vertical-align: middle !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #1d1d1f !important;
}


/* ============================================================
   15. CONTACT US PAGE REDESIGN
   ============================================================ */

.contact-us-page .middle-section {
    background: #f2f2f7 !important;
}

.contact-us-page .contact-hero {
    position: relative;
    width: 100%;
    /* height: 460px; */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    height: auto;
    padding: 140px 0;
    background-size: 100% 100%;
}

.contact-us-page .contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.contact-us-page .contact-hero h1 {
    position: relative;
    color: white;
    font-size: 48px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
}

.contact-us-page .contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Column: Form */
.contact-us-page .contact-form-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* overflow: hidden; */
    border: 1px solid #e8e8ed;
}

.contact-us-page .contact-form-container iframe {
    width: 100%;
    min-height: 1000px;
    border: none;
    display: block;
    transition: height 0.3s ease;
}

@media (max-width: 800px) {
    .contact-us-page .contact-form-container iframe {
        height: 1250px;
        /* Increased for stacked mobile view */
    }
}

@media (max-width: 480px) {
    .contact-us-page .contact-form-container iframe {
        height: 1250px;
        /* Slightly more for very narrow screens */
    }
}

/* Right Column: Info & Map */
.contact-us-page .contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-us-page .info-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8ed;
}

.contact-us-page .info-card h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-us-page .info-card h3 i {
    color: #0071e3;
    font-size: 20px;
}

.contact-us-page .info-card p {
    margin: 8px 0;
    color: #424245;
    font-size: 15px;
    line-height: 1.5;
}

.contact-us-page .map-container {
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8ed;
}

.contact-us-page .map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Responsive Adjustments */
@media (max-width: 1280px) {

    .contact-us-page .contact-hero {
        height: auto;
        padding: 100px 0;
        background-size: 100% 100%;
    }

}


/* Responsive Adjustments */
@media (max-width: 1180px) {

    .contact-us-page .contact-hero {
        height: auto;
        padding: 60px 0;
        background-size: 100% 100%;
    }

}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .contact-us-page .contact-grid {
        grid-template-columns: 1fr;
    }

    /* .contact-us-page .contact-hero {
        height: 240px;
    } */
    .contact-us-page .contact-hero {
        height: auto;
        padding: 60px 0;
        background-size: 100% 100%;
    }

    .contact-us-page .contact-hero h1 {
        font-size: 32px;
    }
}


.contact-page-fitfix .layout-container {
    /* display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 260px;
    width: 100%;
    max-width: 100%;
    align-items: start;
    overflow-x: unset; */
}

body.contact-page-fitfix {
    overflow-x: unset;
}

body.contact-page-fitfix #Container,
body.contact-page-fitfix #Wrapper {
    overflow-x: unset;
}

/* .contact-page-fitfix .left-section,
.contact-page-fitfix .right-section {
    width: auto;
    min-width: 0;
    overflow: visible;
    height: auto;
} */

.contact-page-fitfix .middle-section {
    width: auto;
    min-width: 0;
    overflow: unset;
    height: auto;
}

.contact-page-fitfix .left-section,
.contact-page-fitfix .middle-section,
.contact-page-fitfix .right-section {
    /* overflow-y: unset; */
}

.contact-page-fitfix #LayoutColumn2 {
    min-width: 0;
    overflow: visible;
    height: auto;
}

.contact-page-fitfix #LayoutColumn1,
.contact-page-fitfix #LayoutColumn3 {
    overflow: visible;
    height: auto;
}

.contact-page-fitfix .contact-grid {
    width: 100%;
    max-width: 1380px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.contact-page-fitfix .contact-form-container,
.contact-page-fitfix .contact-info-column,
.contact-page-fitfix .info-card,
.contact-page-fitfix .map-container {
    min-width: 0;
}

.contact-page-fitfix .contact-form-container iframe,
.contact-page-fitfix .map-container iframe {
    max-width: 100%;
}

@media (max-width: 1024px) {
    .contact-page-fitfix .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1008px) {
    .contact-page-fitfix .layout-container {
        display: flex;
        /* flex-direction: column; */
    }
}


.Content {
    min-height: unset;
    margin: 0;
    padding: 10px 0 10px 0;
    font-size: 0.95em;
    /* margin: 0 196px 0 196px; */
}