/* Staging CSS for contacthd2.php — do not modify /css/style.css */

body {
    font-family: Roboto,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* Normalize heading sizes throughout the contact page */
div.contactLeft h2,
div.contactRight h2,
div#bodyContainer h2 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 4px;
}

/* Keep paragraph text consistent with heading size */
div.contactLeft p,
div.contactLeft a {
    font-size: 14px !important;
    line-height: 1.6;
}

/* Form label column */
td.fontforfields,
td.fontforfields strong {
    font-size: 14px;
    line-height: 1.6;
    vertical-align: middle;
}

/* (*Required) and field-level spans */
span[style*="font-size: 14px"],
span[style*="font-size: 13px"] {
    font-size: 13px !important;
}

/* Inline info boxes (warning panels) — keep their own 14px */
div[style*="background-color: #fff3cd"] {
    font-family: Roboto,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif !important;
    font-size: 14px;
    line-height: 1.6;
}

/* Inline red heading labels (e.g. "Cancellation Information & Policy") */
p[style*="font-size:18px"] {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Form spacer rows — smaller gap on mobile */
@media (max-width: 767px) {
    tr.hideAfterSubmit td[style*="padding:8px"],
    tr.hideAferSubmit td[style*="padding:8px"] {
        padding-top: 3px !important;
        padding-bottom: 3px !important;
    }
}

/* Footer nav — override the broad 18px media-query rule */
ul.footNav,
ul.footNav li,
ul.footNav li a {
    font-size: 11px !important;
    line-height: 1.5 !important;
}

/* Full-screen submission overlay */
#submit-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#submit-overlay.visible {
    display: flex;
}
#submit-overlay-box {
    background: #fff;
    border-radius: 10px;
    padding: 40px 48px;
    text-align: center;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
    max-width: 360px;
    width: 90%;
}
.submit-spinner {
    width: 56px;
    height: 56px;
    border: 6px solid #e0e0e0;
    border-top-color: #18ACE3;
    border-radius: 50%;
    animation: submit-spin 0.8s linear infinite;
    margin: 0 auto 20px;
}
@keyframes submit-spin {
    to { transform: rotate(360deg); }
}
.submit-overlay-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}
.submit-overlay-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Tablet/mobile: keep everything at 16px so nothing jumps */
@media (max-width: 1024px) {
    div.contactLeft h2,
    div.contactRight h2,
    div#bodyContainer h2 {
        font-size: 16px;
        line-height: 1.5;
    }

    td.fontforfields,
    td.fontforfields strong,
    div.contactLeft p,
    div.contactLeft a {
        font-size: 16px !important;
        line-height: 1.6;
    }
}
