/* Minification failed. Returning unminified contents.
(1245,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
 */
/* Mobile Horizontal Scroll Fix */
html,
body {
    overflow-x: hidden;  /* Prevent horizontal scroll wiggle on mobile */
    width: 100%;
}

/* Universal Border-Box for Predictable Width Calculations */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Base Styles */
body {
    background: #F7F3EB;
    font: 16px 'Inter', Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

fieldset, img {
    border: none;
}

ul {
    margin-left: 10px;
    padding-left: 20px;
}

/* Layout */
header, main, footer {
    margin: 0 auto;
    padding: 0;
}

main, footer {
    max-width: 840px;
}

/* Site Footer - Integrated Design */
.site-footer {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 30px 30px;
    border-top: 1px solid #e5e5e5;
    background-color: transparent;
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.5;
}

    .site-footer p {
        margin: 0;
    }

    .site-footer a {
        color: #09482f;
        text-decoration: none;
    }

        .site-footer a:hover {
            text-decoration: underline;
        }

header {
    background-color: #09482f;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 0;
}

.header-logo {
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.publication-tagline {
    text-align: center;
    margin-top: 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.25px;
    line-height: 1.4;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Typography */
h4, h5, .subscription-card h3, .toggle-title, .mag-info-container h2, .mag-info-container h3 {
    color: #09482f;
}

h4 {
    margin-bottom: 15px;
    font-size: 20px;
}

h5 {
    margin: 20px 0 10px;
    font-size: 18px;
}

/* Subscribe Container */
.subscribeContainer {
    background: #fff;
    padding: 30px;
    margin: 0 auto 40px;
    box-sizing: border-box;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Image - Responsive Picture Element */
.subBranding {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 5px;
    text-align: center;
}

    .subBranding picture {
        display: block;
        width: 100%;
    }

    .subBranding img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        border-radius: 4px;
    }

h2.section-title {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Subscription Plan Styles */
.subscription-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.subscription-card {
    flex: 1;
    min-width: 250px;
    border: 2px solid #ebebeb;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

    .subscription-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        border-color: rgba(9, 72, 47, 0.3);
    }

    .subscription-card input[type="radio"] {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .subscription-card.recommended {
        border-color: #d4ba6f;
    }

    .subscription-card.selected {
        border: 3px solid #d4ba6f;
        background-color: #fafff7;
        box-shadow: 0 0 0 3px rgba(9, 72, 47, 0.15),
                    0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .subscription-card.selected:hover {
        transform: translateY(-2px);
    }

    .subscription-card:focus {
        outline: 3px solid #09482f;
        outline-offset: 3px;
        box-shadow: 0 0 12px rgba(9, 72, 47, 0.3);
    }

    .subscription-card h3 {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 18px;
        position: relative;
        padding-left: 25px;
    }

        .subscription-card h3::before {
            font-family: "Font Awesome 6 Free";
            font-weight: 400;
            content: "\f0c8";  /* fa-square (regular) */
            font-size: 22px;
            color: #09482f;
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
        }

    .subscription-card.selected h3::before {
        font-weight: 900;
        content: "\f14a";  /* fa-square-check (solid) */
        color: #09482f;
    }

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background-color: #d4ba6f;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.price {
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0;
    color: #09482f;
}

    .price small {
        font-size: 14px;
        color: #666;
    }

.benefits-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

    .benefits-list li {
        margin-bottom: 10px;
        padding-left: 20px;
        position: relative;
    }

        .benefits-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #09482f;
            font-weight: bold;
        }

/* Contact & Payment Section */
.contact-payment-section {
    display: flex;
    gap: 5%;
    margin-bottom: 30px;
}

    .contact-payment-section .col-left,
    .contact-payment-section .col-right {
        flex: 0 0 47.5%;
    }

/* Form Styles */
.form-group {
    margin-bottom: 0.75rem; /* 12px - reduced from 20px for tighter spacing */
}

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .form-group input:focus,
        .form-group select:focus {
            border-color: #09482f;
            box-shadow: 0 0 5px rgba(9, 72, 47, 0.2);
            outline: 2px solid #09482f;
            outline-offset: 2px;
        }

/* Form Label Styles */
.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

    .form-label .required {
        color: #dc3545;
        font-weight: bold;
        margin-left: 2px;
    }

/* Form Section Header with Required Fields Note */
.form-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.required-fields-note {
    font-size: 13px;
    color: #999;
    font-style: italic;
    white-space: nowrap;
    margin: 0;
}

    .required-fields-note .required {
        color: #dc3545;
        font-weight: bold;
    }

/* Error Message Styling */
[role="alert"] {
    display: block;
    min-height: 20px;
}

/* Validation Summary */
#validation-summary {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 4px;
    color: #842029;
    padding: 15px;
}

    #validation-summary h4 {
        color: #842029;
        font-weight: 600;
    }

    #validation-summary ul {
        list-style: disc;
    }

    #validation-summary li {
        margin-bottom: 5px;
    }

        #validation-summary li a {
            color: #842029;
            text-decoration: underline;
            cursor: pointer;
        }

        #validation-summary li a:hover {
            color: #58151c;
            text-decoration: none;
        }

.form-check {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .form-check input[type="checkbox"] {
        margin-right: 10px;
        flex-shrink: 0;
    }

    .form-check label {
        word-wrap: break-word;
    }

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background-color: #09482f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 20px 65px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    min-width: 180px;
}

    .submit-btn:hover:not(:disabled) {
        background-color: #063d28;
        transform: translateY(-3px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .submit-btn:disabled,
    .submit-btn.btn-disabled {
        background-color: #ccc;
        color: #999;
        cursor: not-allowed;
        opacity: 0.6;
        transform: none;
        box-shadow: none;
    }

    .submit-btn:disabled:hover,
    .submit-btn.btn-disabled:hover {
        background-color: #ccc;
        transform: none;
        box-shadow: none;
    }

    .submit-btn.btn-enabled {
        background-color: #09482f;
        color: #fff;
        cursor: pointer;
        opacity: 1;
    }

.payment-security {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.security-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    color: #09482f;
    font-size: 13px;
    font-weight: 500;
}
.security-message, #autoRenew-desc {
    line-height: 1.15;
}
.security-message small {
    font-size: 11px;
    color: #666;

}

/* Toggle Switch */
.toggle-container {
    margin: 20px 0;
}

.toggle-wrapper {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    margin-right: 10px;
    flex-shrink: 0;
}

    .switch input[type="checkbox"] {
        opacity: 0;
        width: 40px;
        height: 22px;
        position: absolute;
        top: 0;
        left: 0;
        cursor: pointer;
        z-index: 3;
    }
    
    .switch input[type="hidden"] {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: background-color 0.4s;
    border-radius: 22px;
    z-index: 1;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 3px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #fff;
        transition: transform 0.4s;
        border-radius: 50%;
        border: 1px solid #ccc;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        z-index: 2;
    }

/* Focus indicator for toggle switches */
.switch input[type="checkbox"]:focus + .slider {
    outline: 2px solid #09482f;
    outline-offset: 2px;
    box-shadow: 0 0 8px rgba(9, 72, 47, 0.3);
}

/* Clean checkbox selector - now that we removed ASP.NET CheckBoxFor */
.switch input[type="checkbox"]:checked + .slider {
    background-color: #09482f;
}

.switch input[type="checkbox"]:checked + .slider:before {
    transform: translateY(-50%) translateX(18px);
}

/* JavaScript-managed active state as backup */
.switch.active .slider {
    background-color: #09482f !important;
}

.switch.active .slider:before {
    transform: translateY(-50%) translateX(18px) !important;
}

/* Fix AutoRenew slider distance */
#AutoRenew:checked + .slider:before,
.switch input#AutoRenew:checked + .slider:before {
    transform: translateY(-50%) translateX(16px) !important;
}

.toggle-labels {
    display: flex;
    flex-direction: column;
}

.toggle-title {
    font-weight: bold;
    font-size: 14px;
}

.toggle-desc {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* form enhancements */
input:focus-visible,
select:focus-visible,
.subscription-card:focus-visible {
    outline: 2px solid #09482f;
    outline-offset: 2px;
}

/* Renewal Footnote */
.renewal-footnote {
    font-size: 11px;
    color: #666;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

    .renewal-footnote ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .renewal-footnote li {
        margin-bottom: 5px;
        line-height: 1.4;
    }

/* Magazine Info Section */
.mag-info-container {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 40px auto 20px;
    border-radius: 8px;
    max-width: 840px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

    .mag-info-container h2,
    .mag-info-container h3 {
        margin-top: 5px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .mag-info-container p {
        margin-bottom: 20px;
    }

    .mag-info-container ul {
        margin-left: 10px;
        padding-left: 20px;
        margin-bottom: 20px;
    }

    .mag-info-container li {
        margin-bottom: 10px;
    }

/* Mobile break */
.mobile-break {
    display: none;
}

/* Validation Error Styling */
.text-danger {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.validation-summary {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 20px;
}

.validation-summary li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.validation-summary.alert {
    margin-bottom: 20px;
}

/* Error summary positioning and animation */
#error-summary {
    margin: 20px 0;
}

/* Highlight animation for error summary */
@keyframes highlight-error {
    0% {
        box-shadow: 0 0 0 rgba(220, 53, 69, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(220, 53, 69, 0.4);
    }
    100% {
        box-shadow: 0 0 0 rgba(220, 53, 69, 0.4);
    }
}

/* Ensure error messages are visible and well-spaced */
.form-group .text-danger {
    font-weight: 500;
}

/* Hosted field error messages */
.hosted-field-error {
    display: none;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

.hosted-field-error.show {
    display: block;
}

/* Ensure error messages fit within form field wrappers */
.form-field-wrapper {
    display: flex;
    flex-direction: column;
}

.form-field-wrapper .hosted-field-error {
    margin-top: 3px;
    font-size: 12px;
}

/* Braintree Hosted Field Containers - Match native input height */
.hosted-field {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    transition: border-color 0.3s ease;
    height: 44px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hosted-field iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.hosted-field.braintree-hosted-fields-focused {
    border-color: #09482f;
    box-shadow: 0 0 5px rgba(9, 72, 47, 0.2);
    outline: 2px solid #09482f;
    outline-offset: 2px;
}

.hosted-field.braintree-hosted-fields-invalid {
    border-color: #dc3545;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .contact-payment-section {
        flex-direction: column;
    }

        .contact-payment-section .col-left,
        .contact-payment-section .col-right {
            flex: 0 0 100%;
        }
}

@media screen and (max-width: 600px) {
    body {
        font-size: 14px;
    }

    /* Stack form section header on mobile */
    .form-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .required-fields-note {
        font-size: 12px;
    }

    /* Hero image mobile adjustments */
    .subBranding {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .subBranding img {
        border-radius: 2px;  /* Slightly smaller radius on mobile */
    }

    .subscription-card {
        min-width: 0;
        flex: 1 1 100%;
    }

    .submit-btn {
        min-width: 0;
        width: 100%;
        padding: 16px 20px;
    }

    .success-actions .btn {
        min-width: 0;
        width: 100%;
        margin-bottom: 10px;
    }

    .detail-item strong {
        min-width: 0;
        display: block;
        margin-bottom: 4px;
    }

    .publication-tagline {
        display: none;
    }

    header {
        padding: 10px 0;
    }

    .header-logo {
        margin: 0 auto;
    }

    .subscribeContainer {
        padding: 15px;
    }

    .switch {
        width: 44px;
        height: 26px;
        margin-right: 8px;
        margin-bottom: 5px;
    }

    .slider:before {
        height: 20px;
        width: 20px;
        left: 3px;
        top: 50%;
        transform: translateY(-50%);
    }

    input:checked + .slider:before {
        transform: translateY(-50%) translateX(21px);
    }

    .toggle-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-break {
        display: inline;
    }

        .mobile-break::after {
            content: "\A";
            white-space: pre;
        }
}

/* Success Page Styles */
.success-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-title {
    color: #09482f;
    font-size: 36px;
    font-weight: 700;
    margin: 20px 0 10px;
    line-height: 1.2;
}

.success-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
}

.success-details {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
}

.detail-item {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: #09482f;
    font-weight: 600;
    display: inline-block;
    min-width: 140px;
}

.whats-next {
    margin: 40px 0;
    text-align: left;
}

.whats-next h3 {
    color: #09482f;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.next-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
}

.next-steps li i {
    color: #28a745;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
}

.customer-service {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.customer-service h3 {
    color: #09482f;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.customer-service p {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 15px;
}

.contact-item i {
    color: #09482f;
    margin-right: 12px;
    width: 20px;
    flex-shrink: 0;
}

.success-actions {
    margin: 40px 0 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 160px;
    text-align: center;
}

.btn-primary {
    background-color: #09482f;
    color: white;
    border-color: #09482f;
}

.btn-primary:hover {
    background-color: #073a26;
    border-color: #073a26;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: #09482f;
    border-color: #09482f;
}

.btn-secondary:hover {
    background-color: #09482f;
    color: white;
    text-decoration: none;
}

.thank-you-message {
    margin: 30px 0 20px;
    padding: 20px;
    background: #f0f8f0;
    border-left: 4px solid #28a745;
    border-radius: 4px;
    text-align: left;
}

.thank-you-message p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-style: italic;
}

.success-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #e9ecef;
}

/* Success Page Mobile Styles */
@media screen and (max-width: 768px) {
    .success-container {
        padding: 15px;
    }

    .success-icon {
        font-size: 60px;
    }

    .success-title {
        font-size: 28px;
    }

    .success-subtitle {
        font-size: 16px;
    }

    .success-details,
    .customer-service {
        padding: 20px 15px;
    }

    .contact-info {
        gap: 15px;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .success-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .detail-item strong {
        display: block;
        margin-bottom: 4px;
        min-width: auto;
    }
}








.site-foot {
    background: #d9d5ce;
}

    .site-foot .g-row {
        max-width: 64rem;
        margin: 0 auto;
    }

        .site-foot .g-row:last-child {
            border-top: 1px solid #b6b2aa;
            padding-top: 1.5em;
        }

    .site-foot section {
        margin-bottom: 0;
    }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    font-size: 0.875em;
    line-height: 1.5;
    max-width: 33em;
}

    .footer-links > li {
        padding: .75em 3vmin .75em;
        flex-basis: 50%;
    }

    .footer-links li li {
        margin-bottom: .5em;
    }

.footer-copyright {
    padding: 0;
    text-align: center;
    color: #555;
    font-size: .75rem;
}

.footer-social {
    line-height: 1;
}

.footer-brands {
    padding: 1.5em;
    border-bottom: 1px solid #b6b2aa;
}

    .footer-brands ul {
        display: flex;
        justify-content: space-around;
        margin: 0 auto;
        max-width: 30em;
    }

    .footer-brands li {
        padding: .5em;
        flex-basis: 33%;
        max-width: 120px;
    }

        .footer-brands li:last-child {
            display: none;
        }

    .footer-brands a {
        display: block;
        width: 100%;
        position: relative;
        padding-bottom: 35.6%;
        height: 0;
        margin: 0 auto;
    }

.footer-social ul {
    display: flex;
    justify-content: space-around;
    font-size: 2rem;
    max-width: 11em;
    margin: 0 auto;
}

.footer-social a {
    color: #292e3d;
}

.footer-social h6,
.footer-brands h6 {
    visibility: hidden;
    height: 0;
    margin: 0;
    overflow: hidden;
    line-height: 0;
}

svg.brand {
    width: 100%;
    height: 100%;
    position: absolute;
}

/* Apple Pay Styles */
.apple-pay-section {
    margin-bottom: 20px;
}

/* Native Apple Pay button via CSS — renders correct Apple Pay branding on Safari.
   Per Apple guidelines: https://developer.apple.com/documentation/applepayontheweb/displaying-apple-pay-buttons-using-css */
apple-pay-button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    cursor: pointer;
}

#apple-pay-btn {
    min-height: 40px;
    --apple-pay-button-height: 40px;
}

apple-pay-button[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

.apple-pay-success {
    width: 100%;
    height: 48px;
    background-color: #28a745;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.payment-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.payment-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.payment-divider span {
    background-color: #F7F3EB;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* Apple Pay responsive adjustments */
@media (max-width: 768px) {
    .payment-divider {
        margin: 15px 0;
    }
}


/* Hosted Fields Custom Styling */
.hosted-field {
    height: 44px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.hosted-field iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.hosted-field.braintree-hosted-fields-focused {
    border-color: #09482f;
    box-shadow: 0 0 0 2px rgba(9, 72, 47, 0.1);
    outline: none;
}

.hosted-field.braintree-hosted-fields-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.hosted-field.braintree-hosted-fields-valid {
    border-color: #ddd;
    box-shadow: none;
}

.field-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease;
    font-size: 16px;
    background: transparent;
}

.form-group {
    position: relative;
    margin-bottom: 0.75rem;
}

.form-field-wrapper {
    position: relative;
    flex: 1;
}

/* Hide labels when field has content or is focused */
.hosted-field.braintree-hosted-fields-focused + .field-label,
.hosted-field.braintree-hosted-fields-valid + .field-label {
    transform: translateY(-30px) scale(0.75);
    color: #09482f;
    background: white;
    padding: 0 4px;
}


