/* Payment Page Styles */
.hsb-payment-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hsb-payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.hsb-payment-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Appointment Summary */
.hsb-appointment-summary {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hsb-appointment-summary h2 {
    margin: 0 0 25px 0;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 600;
}

.hsb-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.hsb-summary-row:last-child {
    border-bottom: none;
}

.hsb-label {
    color: #666;
    font-size: 15px;
}

.hsb-value {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
}

.hsb-summary-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

.hsb-summary-row.hsb-total {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.hsb-summary-row.hsb-total .hsb-label {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.hsb-summary-row.hsb-total .hsb-value {
    font-size: 24px;
    font-weight: 700;
    color: #2c5f2d;
}

/* Payment Section */
.hsb-payment-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hsb-payment-section h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 600;
}

.hsb-payment-note {
    color: #666;
    margin: 0 0 25px 0;
    font-size: 15px;
}

/* Payment Methods */
.hsb-payment-methods {
    margin-bottom: 25px;
}

.hsb-payment-method {
    margin-bottom: 15px;
}

.hsb-payment-method-label {
    display: block;
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.hsb-payment-method-label:hover {
    border-color: #2c5f2d;
    background: #f9fafb;
}

.hsb-payment-radio {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.hsb-payment-radio:checked+.hsb-payment-title {
    font-weight: 600;
    color: #2c5f2d;
}

.hsb-payment-method-label:has(.hsb-payment-radio:checked) {
    border-color: #2c5f2d;
    background: #f0f7f0;
}

.hsb-payment-title {
    font-size: 16px;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hsb-payment-title img {
    height: 24px;
    width: auto;
    vertical-align: middle;
}

/* Payment Box */
.hsb-payment-box {
    margin-top: 15px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.hsb-payment-description {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.hsb-payment-box input[type="text"],
.hsb-payment-box input[type="email"],
.hsb-payment-box input[type="tel"],
.hsb-payment-box select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 12px;
}

/* Submit Button */
.hsb-payment-submit {
    margin-top: 25px;
}

.hsb-payment-submit .hsb-btn-pay,
.hsb-payment-submit button {
    width: 100%;
    padding: 18px 32px;
    background: #2c5f5d !important;
    background-color: #2c5f5d !important;
    color: #fff !important;
    border: 3px solid #2c5f5d !important;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hsb-payment-submit .hsb-btn-pay:hover,
.hsb-payment-submit button:hover,
.hsb-btn-pay:hover {
    background: #1e4241 !important;
    background-color: #1e4241 !important;
    border-color: #1e4241 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(44, 95, 93, 0.25) !important;
}

.hsb-btn-pay:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.hsb-btn-secondary {
    display: inline-block;
    padding: 16px 36px;
    background: #ffffff;
    color: #2c5f2d !important;
    text-decoration: none !important;
    border-radius: 50px;
    border: 2px solid #2c5f2d;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hsb-btn-secondary:hover {
    background: #2c5f2d;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.2);
}

/* Retry Payment Button - Optimized for conversion with green psychology */
.hsb-btn-retry {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    display: block !important;
    padding: 18px 32px !important;
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7a3f 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.35) !important;
    text-transform: uppercase !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    outline: none !important;
}

.hsb-btn-retry::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s !important;
}

.hsb-btn-retry:hover::before {
    left: 100% !important;
}

.hsb-btn-retry:hover {
    background: linear-gradient(135deg, #234d24 0%, #2c5f2d 100%) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(44, 95, 45, 0.5) !important;
    color: #ffffff !important;
    border: none !important;
}

.hsb-btn-retry:active {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.4) !important;
    background: linear-gradient(135deg, #1e4520 0%, #234d24 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.hsb-btn-retry:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.2), 0 6px 20px rgba(44, 95, 45, 0.35) !important;
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7a3f 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.hsb-secure-note {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 15px;
}

/* Messages */
.hsb-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}

/* Success View */
.hsb-success-view {
    animation: hsb-fade-in 0.6s ease-out;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hsb-success-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 5px solid #2c5f2d;
}

.hsb-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5f2d 0%, #46a049 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    margin: 0 auto 30px;
    box-shadow: 0 8px 24px rgba(44, 95, 45, 0.25);
    animation: hsb-success-bounce 0.6s ease-out;
}

@keyframes hsb-success-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hsb-success-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.hsb-success-message {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.hsb-success-message strong {
    color: #2c5f2d;
    font-weight: 600;
}

/* Success Details Section */
.hsb-success-details {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin: 0 0 40px 0;
    text-align: left;
}

.hsb-success-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.hsb-success-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hsb-success-row:first-child {
    padding-top: 0;
}

.hsb-success-row span {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

.hsb-success-row strong {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
}

/* Success Actions */
.hsb-success-actions {
    margin-top: 40px;
}

.hsb-btn-return {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7a3f 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(44, 95, 45, 0.3);
    letter-spacing: 0.5px;
    border: none;
}

.hsb-btn-return:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(44, 95, 45, 0.4);
    background: linear-gradient(135deg, #234d24 0%, #2c5f2d 100%);
}

.hsb-btn-return:active {
    transform: translateY(0);
}

/* Error Banner */
.hsb-error-banner {
    background: #fff5f5;
    border-left: 5px solid #dc3545;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.1);
    animation: hsb-fade-in 0.4s ease-out;
}

.hsb-error-icon {
    background: #dc3545;
    color: #fff;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.hsb-error-content {
    color: #1a1a1a;
}

.hsb-error-content strong {
    display: block;
    font-size: 18px;
    color: #dc3545;
    margin-bottom: 5px;
}

.hsb-error-content p {
    margin: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

@keyframes hsb-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hsb-success-view {
        padding: 20px 15px;
    }

    .hsb-success-card {
        padding: 40px 24px;
    }

    .hsb-success-card h2 {
        font-size: 26px;
    }

    .hsb-success-icon {
        width: 70px;
        height: 70px;
        font-size: 40px;
        margin-bottom: 24px;
    }

    .hsb-success-details {
        padding: 24px 20px;
    }

    .hsb-success-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 0;
    }

    .hsb-success-row strong {
        text-align: left;
    }

    .hsb-btn-return {
        padding: 14px 36px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }
}

/* =====================================================================
   2FA VERIFICATION PAGE CUSTOM STYLING (Premium Redesign)
   ===================================================================== */
.hsb-2fa-view {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 60vh !important;
    margin: 40px auto !important;
    max-width: 600px !important;
}

.hsb-2fa-view .hsb-success-card {
    border-top: 5px solid #2c5f5d !important;
    margin: 0 !important;
    width: 100% !important;
}

.hsb-2fa-icon {
    background: #2c5f5d !important;
    box-shadow: 0 8px 24px rgba(44, 95, 93, 0.25) !important;
    animation: hsb-success-bounce 0.6s ease-out;
}

.hsb-2fa-input {
    text-align: center !important;
    font-size: 20px !important;
    letter-spacing: 2px !important;
    padding: 14px 18px !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    display: block !important;
    border: 1px solid var(--hsb-border-color, #e0e0e0) !important;
    border-radius: var(--hsb-radius-sm, 8px) !important;
    background: #ffffff !important;
    color: var(--hsb-text-main, #1a1a1a) !important;
    transition: all 0.25s ease-in-out !important;
}

.hsb-2fa-input:focus {
    outline: none !important;
    border-color: #2c5f5d !important;
    box-shadow: 0 0 0 3px rgba(44, 95, 93, 0.15) !important;
}

.hsb-2fa-btn-submit,
.hsb-2fa-btn-resend {
    min-width: 180px !important;
    padding: 16px 36px !important;
    border-radius: 50px !important; /* Pill shaped */
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: var(--hsb-shadow-sm, 0 2px 8px rgba(0,0,0,0.05)) !important;
    border: none !important;
}

.hsb-2fa-btn-submit {
    background: #2c5f5d !important;
    background-color: #2c5f5d !important;
    color: #ffffff !important;
}

.hsb-2fa-btn-submit:hover {
    background: #1e4241 !important;
    background-color: #1e4241 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(44, 95, 93, 0.25) !important;
}

.hsb-2fa-btn-submit:active {
    transform: translateY(0) !important;
}

#hsb-2fa-resend-btn {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2c5f5d !important;
    border: 2px solid #2c5f5d !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

#hsb-2fa-resend-btn:hover {
    background: #2c5f5d !important;
    background-color: #2c5f5d !important;
    color: #ffffff !important;
    border-color: #2c5f5d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(44, 95, 93, 0.25) !important;
}

#hsb-2fa-resend-btn:active {
    transform: translateY(0) !important;
}

/* Success & General Theme Enhancements (Color Alignment) */
.hsb-success-card {
    border-top: 5px solid #2c5f5d !important;
}

.hsb-success-icon {
    background: linear-gradient(135deg, #2c5f5d 0%, #1e4241 100%) !important;
    box-shadow: 0 8px 24px rgba(44, 95, 93, 0.25) !important;
}

.hsb-btn-return {
    background: linear-gradient(135deg, #2c5f5d 0%, #1e4241 100%) !important;
    box-shadow: 0 4px 16px rgba(44, 95, 93, 0.3) !important;
    border-radius: 50px !important;
}

.hsb-btn-return:hover {
    box-shadow: 0 8px 24px rgba(44, 95, 45, 0.4) !important;
    background: linear-gradient(135deg, #1e4241 0%, #122928 100%) !important;
}

.hsb-btn-secondary {
    color: #2c5f5d !important;
    border-color: #2c5f5d !important;
}

.hsb-btn-secondary:hover {
    background: #2c5f5d !important;
    color: #ffffff !important;
}
/* Clover embedded card iframes */
.hsb-clover-iframe {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    height: 46px;
    box-sizing: border-box;
}

.hsb-clover-iframe iframe {
    width: 100% !important;
    height: 20px !important;
    border: none !important;
    display: block;
}

/* =====================================================================
   INSURANCE PAYMENT SECTION CUSTOM STYLING (Premium Redesign)
   ===================================================================== */

/* Payment Method Toggle (Payment Page) */
body div.hsb-payment-container div.hsb-pay-method-toggle {
    display: flex !important;
    gap: 6px !important;
    margin-bottom: 30px !important;
    background-color: #f1f5f9 !important;
    padding: 6px !important;
    border-radius: 50px !important;
    width: fit-content !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02) !important;
}

body div.hsb-payment-container div.hsb-pay-method-toggle button.hsb-pay-method-btn {
    padding: 12px 28px !important;
    border: none !important;
    border-style: none !important;
    border-width: 0 !important;
    border-radius: 50px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #4b5563 !important; /* Slate gray text */
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    height: auto !important;
    text-indent: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: normal !important;
    box-sizing: border-box !important;
}

body div.hsb-payment-container div.hsb-pay-method-toggle button.hsb-pay-method-btn:hover {
    color: #111827 !important;
    background: rgba(0, 0, 0, 0.04) !important;
    background-color: rgba(0, 0, 0, 0.04) !important;
    border: none !important;
    border-style: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
}

body div.hsb-payment-container div.hsb-pay-method-toggle button.hsb-pay-method-btn.active {
    background: #2c5f5d !important;
    background-color: #2c5f5d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(44, 95, 93, 0.2) !important;
    border: none !important;
    border-style: none !important;
    border-width: 0 !important;
}

/* Insurance Fields Section (Payment Page) */
body div.hsb-payment-container div.hsb-pay-insurance-section {
    display: none;
    margin-bottom: 30px !important;
    background: #ffffff !important; /* White background for premium look */
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

body div.hsb-payment-container div.hsb-pay-insurance-disclaimer {
    background: #f0f7f7 !important; /* Soft teal background */
    border-left: 4px solid #2c5f5d !important; /* Brand accent left vertical border */
    padding: 16px 20px !important;
    border-radius: 8px !important;
    margin-bottom: 24px !important;
}

body div.hsb-payment-container div.hsb-pay-insurance-disclaimer p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #1e4241 !important; /* Dark teal text */
    font-weight: 500 !important;
}

/* Row & Column Layouts for Payment Page Form Fields */
body div.hsb-payment-container div.hsb-pay-form-row {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-bottom: 20px !important;
}

body div.hsb-payment-container div.hsb-pay-form-group {
    flex: 1 !important;
    min-width: 240px !important;
    display: flex !important;
    flex-direction: column !important;
}

body div.hsb-payment-container div.hsb-pay-form-group.hsb-half-width {
    max-width: 50% !important;
}

@media (max-width: 600px) {
    body div.hsb-payment-container div.hsb-pay-form-group.hsb-half-width {
        max-width: 100% !important;
    }
}

body div.hsb-payment-container div.hsb-pay-form-group label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #555555 !important;
    margin-bottom: 8px !important;
}

body div.hsb-payment-container div.hsb-pay-form-group input[type="text"] {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #d1d5db !important; /* Match Clover credit card inputs */
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #1a1a1a !important;
    background: #ffffff !important; /* Match Clover inputs white bg */
    box-sizing: border-box !important;
    transition: all 0.25s ease-in-out !important;
    height: 46px !important; /* Match Clover inputs height */
}

body div.hsb-payment-container div.hsb-pay-form-group input[type="text"]:focus {
    outline: none !important;
    border-color: #2c5f5d !important;
    box-shadow: 0 0 0 3px rgba(44, 95, 93, 0.15) !important;
    background: #ffffff !important;
}

/* Submit Buttons Uniform Styling (Card & Insurance) */
body div.hsb-payment-container button#hsb-pay-now-btn.hsb-btn-pay,
body div.hsb-payment-container button#hsb-pay-now-btn,
body div.hsb-payment-container button#hsb-submit-insurance-btn.hsb-btn-pay,
body div.hsb-payment-container button#hsb-submit-insurance-btn {
    display: block !important;
    width: 100% !important;
    padding: 16px 32px !important;
    border-radius: 8px !important; /* Uniform rounded-rect shape matching form fields */
    background: #2c5f5d !important;
    background-color: #2c5f5d !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(44, 95, 93, 0.15) !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: none !important;
    text-shadow: none !important;
    height: auto !important;
}

body div.hsb-payment-container button#hsb-pay-now-btn.hsb-btn-pay:hover,
body div.hsb-payment-container button#hsb-pay-now-btn:hover,
body div.hsb-payment-container button#hsb-submit-insurance-btn.hsb-btn-pay:hover,
body div.hsb-payment-container button#hsb-submit-insurance-btn:hover {
    background: #1e4241 !important;
    background-color: #1e4241 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(44, 95, 93, 0.25) !important;
}

body div.hsb-payment-container button#hsb-pay-now-btn.hsb-btn-pay:active,
body div.hsb-payment-container button#hsb-pay-now-btn:active,
body div.hsb-payment-container button#hsb-submit-insurance-btn.hsb-btn-pay:active,
body div.hsb-payment-container button#hsb-submit-insurance-btn:active {
    transform: translateY(0) !important;
}

body div.hsb-payment-container button#hsb-pay-now-btn:disabled,
body div.hsb-payment-container button#hsb-submit-insurance-btn:disabled {
    background: #a3b8b7 !important;
    background-color: #a3b8b7 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Hide Clover SDK's auto-injected footer branding (we show our own secure note) */
#clover-footer,
.clover-footer,
[id*="clover-footer"],
[class*="clover-footer"] {
    display: none !important;
}

/* Responsive adjustments for payment page */
@media (max-width: 600px) {
    body div.hsb-payment-container div.hsb-pay-method-toggle {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 30px !important;
    }
    
    body div.hsb-payment-container div.hsb-pay-method-toggle button.hsb-pay-method-btn {
        flex: 1 !important;
        padding: 10px 8px !important;
        font-size: 13px !important;
        gap: 4px !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.2 !important;
        border-radius: 30px !important;
    }

    body div.hsb-payment-container div.hsb-pay-insurance-section {
        padding: 20px 15px !important;
    }
    
    body div.hsb-payment-container div.hsb-pay-insurance-disclaimer {
        padding: 12px 16px !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 400px) {
    body div.hsb-payment-container div.hsb-pay-method-toggle button.hsb-pay-method-btn {
        font-size: 12px !important;
        padding: 10px 4px !important;
    }
}
