/**
 * BT Custom Checkout Styles
 * Save as: assets/bt-checkout.css
 */

/* Main Checkout Wrapper */
.bt-checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.bt-checkout-wrapper br,
.bt-checkout-wrapper p:empty,
.bt-thankyou-section p:empty,
.bt-thankyou-section br
{ 
    display: none;
}
/* Progress Bar */
.bt-checkout-progress {
    margin-bottom: 0px;
}
/* ✅ Error message styling */
.bt-error-message {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.bt-error-message.woocommerce-error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.bt-error-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.bt-error-message ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.bt-error-message li {
    margin-bottom: 5px;
}

/* Error field highlighting */
input.bt-error,
select.bt-error,
textarea.bt-error,
.woocommerce-invalid {
    border-color: #dc3545 !important;
    background: #fff5f5 !important;
}

.bt-field-error {
    color: #dc3545;
    font-size: 12px;
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.bt-progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}
/* BT Plan quantity message */
.bt-plan-quantity {
    display: inline-block;
    padding: 8px 12px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}
.bt-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10446C, #A038F0);
    transition: width 0.4s ease;
}

/* Checkout Steps */
.bt-checkout-step {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: none;
}
.bt-existing-services{
    margin: 0 !important;
}
.bt-step-header {
    margin-bottom: 15px;
    padding-bottom: 0px;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
}

.bt-step-title {
    font-size: 30px;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 10px 0 !important; 
}

.bt-step-desc {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
p:empty {
  display: none !important;
}

.bt-eligibility-notice {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 10px;
}

.bt-step-content {
    margin-bottom: 30px;
    width: 100%;
    flex-wrap: wrap;
}
.bt-step-content>div {
    width: 100%;
}
.bt-question {
    font-size: 20px;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0 0 15px 0;
}

.bt-question-desc {
    font-size: 15px;
    color: #666;
    margin: 0 0 10px !important;
    line-height: 1.6;
    width: 100%;
}
 .bt-radio-group p {
    width: 100%;
    margin: 0;
}
#bt-step-4 label.bt-radio-option.bt-speed-boost-option {
    flex-wrap: wrap;
}
.bt-step-content h3 {
    width: 100%;
}
.bt-radio-option {
    display: inline-flex;
    align-items: flex-start;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    width: 100% !important;
    gap: 10px;
}
.bt-radio-option:hover {
    border-color: #10446C;
    background: #f9f5ff;
}
.bt-step-content .bt-radio-group {
    display: flex;
    width: 100% !important;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 10px;
}
.bt-radio-option input[type="radio"] {
    margin: 0px 0 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #10446C;
}
.bt-radio-option input[type="radio"]:checked + .bt-radio-label {
    font-weight: 600;
    color: #10446C;
}
.bt-radio-option br{
    display: none;
}
.bt-radio-label {
    flex: 1;
    font-size: 16px;
    color: #2a2a2a;
    line-height: 1.5;
}

/* Form Fields */
.bt-form-field {
    margin-bottom: 20px;
}

.bt-input,
.bt-select {
    width: 100%;
    max-width: 400px;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.bt-input:focus,
.bt-select:focus {
    outline: none;
    border-color: #10446C;
    box-shadow: 0 0 0 3px rgba(85, 20, 180, 0.1);
}

.bt-input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Conditional Fields */
.bt-conditional-field {
    background: #f9f9f9;
    border-left: 4px solid #10446C;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
}

.bt-conditional-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Contact Details */
.bt-contact-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    width: 100%;
}
 
.bt-contact-details h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0 0 10px 0;
}

.bt-contact-desc {
    font-size: 15px;
    color: #666;
    margin: 0 0 10px 0 !important;
}
 

.bt-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #2a2a2a;
    margin-bottom: 15px;
    cursor: pointer;
}

/* Address Search */
.bt-address-search {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.bt-address-list {
    margin-top: 20px;
}

.bt-address-list label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 10px;
}

/* Extras Section */
.bt-extras-title {
    font-size: 22px;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 10px 0;
}

.bt-extras-desc {
    font-size: 15px;
    color: #666;
    margin: 0 0 20px 0;
}

.bt-extras-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.bt-extras-badge {
    background: #10446C;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.bt-extras-price {
    background: #f0f0f0;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.bt-speed-boost-option {
    align-items: flex-start;
}

.bt-boost-content {
    flex: 1;
}

.bt-boost-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bt-boost-price {
    font-size: 20px;
    font-weight: 700;
    color: #2a2a2a;
}

.bt-boost-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.bt-boost-features li {
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.bt-boost-features li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #10446C;
    font-weight: bold;
}

.bt-boost-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Buttons */
.bt-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1;
}

.bt-btn-primary {
    background: linear-gradient(180deg, #10446C 0%, #1b5c8d 100%);
    color: #fff;
}

.bt-btn-primary:hover {
    background: linear-gradient(180deg, #10446C 0%, #185686 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 8, 130, 0.3);
}

.bt-btn-secondary {
    background: #fff;
    color: #10446C;
    border: 2px solid #10446C;
}

.bt-btn-secondary:hover {
    background: #fff0f7;
}

.bt-btn-tertiary {
    background: #f5f5f5;
    color: #2a2a2a;
}

.bt-btn-tertiary:hover {
    background: #e0e0e0;
}

.bt-btn-small {
    padding: 10px 20px;
    font-size: 14px;
    margin-left: 10px;
}

.bt-btn-block {
    width: 100%;
    display: block;
}

.bt-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Step Actions */
.bt-step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* Links */
.bt-link {
    color: #10446C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

.bt-link:hover {
    text-decoration: underline;
}

.bt-link-container {
    text-align: center;
    margin-top: 15px;
}

.bt-learn-more {
    color: #10446C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.bt-learn-more:hover {
    text-decoration: underline;
}

/* Checkout Columns (Step 5) */
.bt-checkout-columns {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 30px;
}

.bt-checkout-left {
    flex: 1;
}

.bt-checkout-right {
    width: 100%;
}

.bt-checkout-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.bt-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

/* Order Review */
.bt-order-review {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    position: sticky;
    top: 20px;
}

.bt-order-review .bt-section-title {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* WooCommerce Form Overrides */
.bt-checkout-section .form-row {
    width: 100% !important;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 !important;
    display: flex;
    gap: 0 !important;
    flex-wrap: wrap;
}
.bt-checkout-section .form-row label {
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2a;
    display: block;
    margin-bottom: 6px;
}

.bt-checkout-section .form-row .input-text,
.bt-checkout-section .form-row select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    min-height: 48px;
}
.bt-checkout-section .form-row { 
    width: 100% !important;
}
.bt-checkout-section .form-row .input-text:focus,
.bt-checkout-section .form-row select:focus {
    outline: none;
    border-color: #10446C;
    box-shadow: 0 0 0 3px rgba(85, 20, 180, 0.1);
}

/* Payment Methods */
.bt-payment-methods {
    margin-top: 15px;
}

.woocommerce-checkout-payment .wc_payment_method { 
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}

.woocommerce-checkout-payment .wc_payment_method:hover {
    border-color: #10446C;
}

.woocommerce-checkout-payment .wc_payment_method input[type="radio"] {
    margin-right: 10px;
    accent-color: #10446C;
}

.woocommerce-checkout-payment .wc_payment_method label {
    font-size: 15px;
    font-weight: 600;
    color: #2a2a2a;
}

.payment_box {
    background: #f9f9f9;
    padding: 15px;
    margin-top: 10px;
    border-radius: 6px;
}

/* Terms & Conditions */
.bt-terms-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 15px;
}

.woocommerce-terms-and-conditions {
    max-height: 200px;
    overflow-y: auto;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Loading Overlay */
.bt-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
}
 
.bt-loading-message {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2a2a2a;
}

/* Error Messages */
.bt-error-message {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #856404;
    font-size: 15px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bt-error-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* Service Notice */
.bt-service-notice {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    border-radius: 6px;
    font-size: 15px;
    color: #0d47a1;
    line-height: 1.6;
    margin-bottom: 25px;
}
/* Ensure BT processing popup is always on top */
.bt-processing-overlay {
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Hide WooCommerce loader when BT popup is active */
body.bt-order-processing .blockUI.blockOverlay,
body.bt-order-processing .blockUI.blockMsg {
    display: none !important;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .bt-checkout-columns {
        grid-template-columns: 1fr;
    }
    
    .bt-checkout-right {
        width: 100%;
    }
    
    .bt-order-review {
        position: static;
    }
}

@media (max-width: 768px) {
    .bt-checkout-wrapper {
        padding: 0 15px;
    }
    
    .bt-step-title {
        font-size: 24px;
    }
    
    .bt-question {
        font-size: 18px;
    }
    
    .bt-step-actions {
        flex-direction: column-reverse;
    }
    
    .bt-btn {
        width: 100%;
    }
    
    .bt-input,
    .bt-select {
        max-width: 100%;
    }
    
    .bt-radio-option {
        padding: 15px;
    }
    
    .bt-boost-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .bt-step-title {
        font-size: 20px;
    }
    
    .bt-question {
        font-size: 16px;
    }
    
    .bt-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .bt-checkout-section,
    .bt-contact-details,
    .bt-address-search,
    .bt-conditional-field {
        padding: 20px 15px;
    }
}

/* Hide default WooCommerce elements */
.bt-custom-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.bt-custom-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
    grid-column: span 2;
}

.bt-custom-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.bt-custom-checkout .woocommerce-billing-fields__field-wrapper .form-row-last {
    grid-column: span 1;
}

/* Additional WooCommerce Styling */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 600;
    color: #2a2a2a;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table td {
    color: #666;
    font-size: 15px;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 500;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 18px;
    font-weight: 700;
    color: #2a2a2a;
    padding-top: 20px;
    border-top: 2px solid #2a2a2a;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .cart-subtotal td {
    padding-top: 15px;
}

/* Product Images in Cart */
.woocommerce-checkout-review-order-table .product-thumbnail {
    width: 60px;
}

.woocommerce-checkout-review-order-table .product-thumbnail img {
    width: 100%;
    border-radius: 6px;
}

/* Notices */
.woocommerce-NoticeGroup {
    margin-bottom: 20px;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
}

.woocommerce-error {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.woocommerce-info {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    color: #0d47a1;
}

.woocommerce-message {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}
/* Landline fields */
.bt-landline-fields {
    margin-top: 30px;
}

.bt-find-number-link {
    float: right;
    font-size: 14px;
}

.bt-field-error {
    display: block;
    color: #dc3232;
    font-size: 13px;
    margin-top: 5px;
}

.bt-input.bt-error {
    border-color: #dc3232;
}

/* Saved address display */
.bt-saved-address-box {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}
.bt-persistent-address .bt-address-display{
  color: #fff;
}
.bt-saved-address-box .bt-address-display {
    font-size: 16px;
    line-height: 1.6;
}

#change-address-btn {
    margin-top: 15px;
}

/* BT Services radio group - stacked layout */
.bt-radio-stacked .bt-radio-option {
    display: flex;
    width: 100%;
    margin-bottom: 0px;
    gap: 10px;
}

/* Conditional fields for BT services */
.bt-conditional-field {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.bt-conditional-field .bt-form-field {
    margin-bottom: 15px;
}

.bt-conditional-field .bt-form-field:last-child {
    margin-bottom: 0;
}

 
.bt-contact-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
 
/* Checkbox labels */
.bt-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-bottom: 10px;
}
.bt-checkbox-label .bt-checkbox {
    width: 20px;
    height: 20px;
}

/* Error message styling */
.bt-error-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bt-error-icon {
    font-size: 20px;
    color: #856404;
}

/* Loading overlay */
.bt-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
 
/* Success message styling */
.bt-success-message {
    background: #d4edda;
    border: 1px solid #28a745;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #155724;
}

.bt-success-icon {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
}
/* Step 5 - Personal Details */
.bt-checkout-columns {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 30px;
}
 
.bt-checkout-section {
    margin-bottom: 40px;
}

.bt-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.bt-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 2px;
}

.bt-form-field {
    flex: 1;
}

.bt-form-field-half {
    flex: 1;
}
span.woocommerce-input-wrapper {
    width: 100%;
}
.bt-form-field label {
    display: flex;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2a2a2a;
    align-items: center;
}
.bt-form-field label br {
    display: none;
}
 
.bt-form-field label .required {
    color: #d32f2f;
}

.bt-form-field .required {
    color: #dc3232;
}

.bt-form-field input,
.bt-form-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.bt-form-field input.bt-error {
    border-color: #dc3232;
}

/* Order Summary Sidebar */
.bt-checkout-right {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.bt-order-summary {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

.bt-order-summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.bt-order-summary-content {
    margin-bottom: 20px;
}

.bt-order-item {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.bt-order-item:last-child {
    border-bottom: none;
}

.bt-order-item-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.bt-order-check {
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
}

.bt-order-totals {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.bt-order-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.bt-order-monthly .bt-order-total-label {
    font-weight: 600;
}

.bt-order-monthly .bt-order-total-value {
    font-size: 24px;
    font-weight: 700;
    color: #10446C;
}

.bt-order-upfront {
    color: #666;
}

.bt-btn-link {
    background: none !important;
    border: none;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-top: 0;
}
.bt-checkout-right .bt-btn-link {
    color: #10446C;
}
.bt-checkout-right .bt-btn-link:hover{
    color: #10446C;
}
.bt-btn-link:hover {
    color: #fff;
    text-decoration: none;
}

/* Order Summary Modal */
.bt-order-modal-content {
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
}

.bt-order-summary-modal-content {
    padding: 20px 0;
}

.bt-summary-section {
    margin-bottom: 30px;
}

.bt-summary-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2a2a2a;
}

.bt-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.bt-summary-table thead {
    background: #f8f9fa;
}

.bt-summary-table th,
.bt-summary-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.bt-summary-table th {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #666;
}

.bt-summary-table td {
    font-size: 14px;
}

.bt-summary-table th:last-child,
.bt-summary-table td:last-child {
    text-align: right;
}

.bt-summary-total td {
    font-weight: 600;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    background: #f8f9fa;
}

.bt-summary-details td {
    padding: 10px 12px;
}

.bt-summary-details td:first-child {
    width: 40%;
    color: #666;
}
/* Modal Base Styles */
.bt-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bt-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.bt-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    z-index: 100000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin:0 auto;
}

.bt-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}

.bt-modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.bt-modal h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #2a2a2a;
}
select#address-select {
    min-height: 300px;
}

/* Persistent Address Banner */
.bt-persistent-address {
    margin-bottom: 30px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 20px;
    margin-bottom: 60px;
}
.bt-persistent-address-card {
    background: linear-gradient(135deg, #10446C 0%, #185786 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(85, 20, 180, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* ✅ Field validation styles */
.bt-error {
    border-color: #dc3232 !important;
    box-shadow: 0 0 0 2px rgba(220, 50, 50, 0.1) !important;
}

.bt-field-error {
    color: #dc3232;
    font-size: 12px;
    display: block;
    margin-top: 5px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error message banner */
.bt-error-message {
    background: #fff;
    border-left: 4px solid #dc3232;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bt-error-icon {
    font-size: 20px;
    color: #dc3232;
}

/* Success styling for valid fields */
input.bt-valid,
select.bt-valid {
    border-color: #46b450;
}
/* Responsive */
@media (max-width: 1024px) {
    .bt-checkout-columns {
        grid-template-columns: 1fr;
    }
    
    .bt-checkout-right {
        position: static;
    }
}

@media (max-width: 768px) {
    .bt-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .bt-order-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .bt-summary-table {
        font-size: 12px;
    }
    
    .bt-summary-table th,
    .bt-summary-table td {
        padding: 8px;
    }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bt-loading-message {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bt-find-number-link {
        float: none;
        display: block;
        margin-top: 10px;
    }
}
/* Print Styles */
@media print {
    .bt-step-actions,
    .bt-checkout-progress,
    .bt-btn {
        display: none;
    }
    
    .bt-checkout-step {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* ✅ FIX: Hide empty paragraphs that WordPress adds */
.bt-checkout-wrapper > p:empty,
.bt-step-content > p:empty,
.bt-radio-group > p:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
}

/* ✅ FIX: Hide stray line breaks */
.bt-checkout-wrapper > br,
.bt-step-content > br:first-child,
.bt-step-content > br:last-child {
    display: none !important;
}

/* ✅ FIX: Green success message */
.bt-availability-success {
    background: #27a10a !important;
    padding: 12px 15px !important;
    border-radius: 5px !important;
    margin: 15px 0 0 !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bt-availability-success::before {
    content: "✓" !important;
    font-size: 20px !important;
    font-weight: bold !important;
}

/* ✅ FIX: Radio options spacing */
.bt-radio-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin: 20px 0 !important;
}

.bt-radio-option {
    display: flex !important;
    align-items: flex-start !important;
    padding: 15px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
}

.bt-boost-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 0 0 !important;
}

.bt-boost-features li {
    padding: 8px 0 8px 25px !important;
    position: relative !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.bt-boost-features li::before {
    content: "•" !important;
    position: absolute !important;
    left: 8px !important;
    color: #0066cc !important;
}