/* =========================================================================
   Fly Lafayette Club — 2026 redesign
   Visually faithful match for lftairport.com/fly-lafayette-club (WP/Elementor)
   without dragging in the WordPress plugin CSS stack.
   ========================================================================= */

/* ---------- Reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

body {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2b2b2b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #293792; text-decoration: none; transition: color .15s ease; }
a:hover { color: #1a2566; text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Slab", Georgia, serif;
    color: #1a2566;
    font-weight: 700;
    margin: 0 0 .6em;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

hr { border: 0; border-top: 1px solid #e3e5ea; margin: 1.5rem 0; }

.brand-blue { color: #293792; font-weight: 700; }
.clearboth { clear: both; }

/* ---------- Layout helpers --------------------------------------------- */
.flc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.flc-narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Top utility bar -------------------------------------------- */
.flc-utility-bar {
    background: #1a2566;
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
}

.flc-utility-bar .flc-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.flc-utility-bar a {
    color: #ffffff;
    opacity: .85;
}

.flc-utility-bar a:hover {
    opacity: 1;
    text-decoration: none;
}

.flc-utility-bar .flc-phone {
    font-weight: 600;
    letter-spacing: .02em;
}

/* ---------- Main header / nav ------------------------------------------ */
.flc-header {
    background: #ffffff;
    border-bottom: 1px solid #eceef3;
    padding: 18px 0;
    position: relative;
    z-index: 10;
}

.flc-header .flc-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.flc-logo img {
    max-height: 64px;
    width: auto;
}

.flc-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
    align-items: center;
}

.flc-nav a {
    color: #1a2566;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .15s ease, color .15s ease;
}

.flc-nav a:hover,
.flc-nav a.is-active {
    color: #293792;
    border-bottom-color: #293792;
    text-decoration: none;
}

.flc-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 24px;
    color: #1a2566;
    cursor: pointer;
}

/* ---------- Hero -------------------------------------------------------- */
.flc-hero {
    background: #f6f8fb;
    padding: 64px 0 48px;
    text-align: center;
    border-bottom: 1px solid #eceef3;
}

.flc-hero h1 {
    font-size: 3rem;
    margin-bottom: .25em;
    color: #1a2566;
}

.flc-hero .flc-hero-sub {
    font-size: 1.15rem;
    color: #555a6a;
    max-width: 720px;
    margin: 0 auto;
}

/* ---------- Generic content sections ----------------------------------- */
.flc-section {
    padding: 56px 0;
}

.flc-section--alt {
    background: #f6f8fb;
}

.flc-section h2 {
    text-align: center;
    margin-bottom: 1em;
}

.flc-prose p {
    font-size: 1.05rem;
    margin-bottom: 1.1em;
}

.flc-prose strong { color: #293792; font-weight: 700; }

/* ---------- Buttons ----------------------------------------------------- */
.flc-btn,
input[type="submit"].flc-btn,
input[type="button"].flc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #293792;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.flc-btn:hover {
    background: #1a2566;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41,55,146,.25);
}

.flc-btn--ghost {
    background: transparent;
    color: #293792;
    border: 2px solid #293792;
    padding: 12px 26px;
}

.flc-btn--ghost:hover {
    background: #293792;
    color: #ffffff;
}

.flc-btn .flc-btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.flc-cta-row {
    text-align: center;
    margin: 32px 0;
}

.flc-fineprint {
    text-align: center;
    color: #6b7080;
    font-size: .9rem;
    margin: 16px 0 0;
}

/* ---------- Sponsor grid ------------------------------------------------ */
.flc-sponsors {
    padding: 56px 0;
    background: #ffffff;
}

.flc-sponsors h2 {
    text-align: center;
    margin-bottom: 8px;
}

.flc-sponsors .flc-sponsors-sub {
    text-align: center;
    color: #6b7080;
    margin-bottom: 40px;
}

.flc-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.flc-sponsor-grid li { margin: 0; }

.flc-sponsor-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #eceef3;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    padding: 18px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.flc-sponsor-grid a:hover {
    border-color: #293792;
    box-shadow: 0 6px 20px rgba(41,55,146,.12);
    transform: translateY(-2px);
    text-decoration: none;
}

.flc-sponsor-grid img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* ---------- Signup form ------------------------------------------------- */
.flc-form-section {
    background: #f6f8fb;
    padding: 64px 0;
    scroll-margin-top: 24px;
}

.flc-form-section h2 {
    text-align: center;
    margin-bottom: .25em;
}

.flc-form-section .flc-form-sub {
    text-align: center;
    color: #555a6a;
    margin-bottom: 32px;
}

.flc-form-wrap {
    background: #ffffff;
    border: 1px solid #eceef3;
    border-radius: 8px;
    padding: 36px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 2px 12px rgba(20,30,60,.04);
}

.flc-form-wrap label {
    display: inline-block;
    font-weight: 600;
    color: #1a2566;
    margin-bottom: 4px;
    font-size: 14px;
}

.flc-form-wrap input[type="text"],
.flc-form-wrap input[type="email"],
.flc-form-wrap input[type="tel"],
.flc-form-wrap input[type="password"],
.flc-form-wrap select,
.flc-form-wrap textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #d4d8e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    color: #1a2566;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.flc-form-wrap input[type="text"]:focus,
.flc-form-wrap input[type="email"]:focus,
.flc-form-wrap input[type="tel"]:focus,
.flc-form-wrap input[type="password"]:focus,
.flc-form-wrap select:focus,
.flc-form-wrap textarea:focus {
    outline: 0;
    border-color: #293792;
    box-shadow: 0 0 0 3px rgba(41,55,146,.15);
}

.flc-form-wrap hr {
    border-top: 1px solid #eceef3;
    margin: 20px 0;
}

.flc-form-wrap .flc-form-actions {
    text-align: center;
    margin-top: 12px;
}

.flc-form-wrap .flc-form-actions input[type="submit"],
.flc-form-wrap .flc-form-actions input[type="button"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #293792;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 4px;
}

.flc-form-wrap .flc-form-actions input[type="button"] {
    background: #ffffff;
    color: #293792;
    border: 2px solid #293792;
    padding: 10px 26px;
}

.flc-form-wrap .flc-form-actions input[type="submit"]:hover {
    background: #1a2566;
}

.flc-form-wrap .flc-form-actions input[type="button"]:hover {
    background: #293792;
    color: #ffffff;
}

.flc-existing-member {
    text-align: center;
    margin-top: 24px;
    font-size: .95rem;
    color: #555a6a;
}

/* ---------- Validation summary / messages ------------------------------ */
.flc-validation-summary {
    background: #fff5f5;
    border: 1px solid #f3c5c5;
    border-left: 4px solid #c0392b;
    color: #7a1f1f;
    border-radius: 4px;
    padding: 14px 18px;
    margin: 0 0 20px;
}

.flc-validation-summary ul { margin: 6px 0 0; padding-left: 22px; }

.flc-success {
    background: #f0f7f0;
    border: 1px solid #c5e0c5;
    border-left: 4px solid #2e7d32;
    color: #1b5e20;
    border-radius: 4px;
    padding: 14px 18px;
    margin: 0 0 20px;
}

/* ---------- Footer ------------------------------------------------------ */
.flc-footer {
    background: #1a2566;
    color: #d6dce8;
    padding: 56px 0 24px;
    margin-top: 64px;
}

.flc-footer a {
    color: #d6dce8;
}

.flc-footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

.flc-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 32px;
}

.flc-footer h4 {
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 16px;
}

.flc-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.flc-footer li { margin-bottom: 8px; }

.flc-footer-social {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.flc-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    transition: background-color .15s ease;
}

.flc-footer-social a:hover {
    background: rgba(255,255,255,.16);
}

.flc-footer-social svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.flc-footer-contact {
    color: #b8c1d4;
    font-size: 14px;
    line-height: 1.7;
}

.flc-footer-contact .flc-footer-logo {
    margin-bottom: 16px;
}

.flc-footer-contact .flc-footer-logo img {
    max-height: 80px;
    width: auto;
}

.flc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 20px;
    text-align: center;
    color: #8993ab;
    font-size: 13px;
}

/* ---------- Ninja-forms layout (used by RegistrationEdit2.ascx) -------- */
.flc-form-wrap .ninja-forms-required-items {
    color: #6b7080;
    font-size: 13px;
    margin-bottom: 18px;
}

.flc-form-wrap .ninja-forms-req-symbol {
    color: #c0392b;
    font-weight: 700;
    margin-left: 2px;
}

.flc-form-wrap .field-wrap {
    margin-bottom: 16px;
}

.flc-form-wrap .field-wrap.label-above label {
    display: block;
    margin-bottom: 4px;
}

.flc-form-wrap .ninja-forms-field {
    width: 100%;
}

.flc-form-wrap .alert {
    background: #fff5f5;
    border: 1px solid #f3c5c5;
    border-left: 4px solid #c0392b;
    color: #7a1f1f;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

.flc-form-wrap .state {
    border: 1px solid #d4d8e1 !important;
    padding: 10px 12px !important;
    border-radius: 4px;
    font-size: 15px;
    background: #ffffff;
}

/* ---------- Admin / Login overrides ------------------------------------ */
.flc-admin-page {
    padding: 48px 0;
}

.flc-admin-page h1 {
    margin-bottom: 24px;
}

/* tone down jQuery UI tab chrome to match our look */
.flc-admin-page .ui-tabs.ui-widget {
    background: transparent;
    border: 0;
}

.flc-admin-page .ui-tabs .ui-tabs-nav {
    background: transparent;
    border: 0;
    border-bottom: 2px solid #eceef3;
    border-radius: 0;
    padding: 0;
    margin-bottom: 24px;
}

.flc-admin-page .ui-tabs .ui-tabs-nav li {
    background: transparent;
    border: 0;
    margin: 0 4px 0 0;
}

.flc-admin-page .ui-tabs .ui-tabs-nav li a {
    color: #555a6a;
    font-weight: 600;
    padding: 12px 18px;
    border-bottom: 3px solid transparent;
}

.flc-admin-page .ui-tabs .ui-tabs-nav li.ui-tabs-active a,
.flc-admin-page .ui-tabs .ui-tabs-nav li.ui-state-active a {
    color: #293792;
    border-bottom-color: #293792;
}

/* ---------- Admin data grids (Members / Drawings / Status / Usage) ------ */
.Style_Grid {
    border-collapse: collapse;
    background: #ffffff;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #2b2b2b;
    margin-bottom: 16px;
}

/* grid lines on every cell */
.Style_Grid th,
.Style_Grid td,
.Style_GridItem {
    border: 1px solid #d9dde6;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* navy header band — wins over jQuery-UI's .ui-widget-header via the
   two-class .Style_Grid .GridHeader / element selectors */
.Style_Grid th,
.Style_Grid .GridHeader {
    background: #1a2566;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .01em;
    border-color: #2a356f;
}

/* sort links in the header stay legible on the navy band */
.Style_Grid th a,
.Style_Grid .GridHeader a {
    color: #ffffff;
    text-decoration: none;
}

.Style_Grid th a:hover,
.Style_Grid .GridHeader a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* zebra striping */
.Style_GridRow { background: #ffffff; }
.Style_GridAltRow { background: #f6f8fb; }
.Style_GridRow:hover,
.Style_GridAltRow:hover { background: #eef1f7; }

.BreakWord { word-wrap: break-word; overflow-wrap: break-word; }

/* nested layout tables inside a grid (e.g. the GridView pager in Paging.ascx)
   must not inherit the grid's cell borders -- otherwise boxes appear around
   the pager buttons. */
.Style_Grid table td,
.Style_Grid table th {
    border: 0;
}

/* in-grid action links (Edit | Delete | Data Export | …) — brand blue */
a.GridLink {
    color: #293792;
    font-weight: 600;
    text-decoration: none;
}

a.GridLink:hover {
    color: #1a2566;
    text-decoration: underline;
}

/* jQuery-UI datepicker trigger — the theme's `img { display:block }` bumps the
   calendar icon onto its own line; keep it inline next to the date input. */
img.ui-datepicker-trigger {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    cursor: pointer;
}

/* ---------- Admin & dialog form inputs ---------------------------------
   The theme only styles inputs inside .flc-form-wrap; admin-page and
   jQuery-UI dialog inputs fell back to the browser's tiny defaults.
   (jQuery UI re-parents dialogs to <body>, hence the separate .ui-dialog
   scope.) Widths set inline on the controls are preserved by the global
   border-box rule. */
.flc-admin-page input[type="text"],
.flc-admin-page input[type="email"],
.flc-admin-page input[type="tel"],
.flc-admin-page input[type="password"],
.flc-admin-page select,
.flc-admin-page textarea,
.ui-dialog input[type="text"],
.ui-dialog input[type="email"],
.ui-dialog input[type="tel"],
.ui-dialog input[type="password"],
.ui-dialog select,
.ui-dialog textarea {
    padding: 7px 10px;
    border: 1px solid #d4d8e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.3;
    color: #1a2566;
    background: #ffffff;
}

.flc-admin-page input[type="text"]:focus,
.flc-admin-page input[type="email"]:focus,
.flc-admin-page input[type="tel"]:focus,
.flc-admin-page input[type="password"]:focus,
.flc-admin-page select:focus,
.flc-admin-page textarea:focus,
.ui-dialog input[type="text"]:focus,
.ui-dialog input[type="email"]:focus,
.ui-dialog input[type="tel"]:focus,
.ui-dialog input[type="password"]:focus,
.ui-dialog select:focus,
.ui-dialog textarea:focus {
    outline: 0;
    border-color: #293792;
    box-shadow: 0 0 0 3px rgba(41,55,146,.15);
}

/* Usage-tab section labels ("Member Registrations" / "Member Checkins") —
   give them breathing room above (off the date row / previous table). */
.flc-admin-page .AnalyzeHeader {
    margin: 24px 0 8px;
    font-weight: 600;
    font-size: 15px;
    color: #1a2566;
}

.flc-login-card {
    max-width: 420px;
    margin: 80px auto;
    background: #ffffff;
    border: 1px solid #eceef3;
    border-radius: 8px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(20,30,60,.04);
}

.flc-login-card h1 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.flc-login-card .flc-form-row {
    margin-bottom: 16px;
}

.flc-login-card label {
    display: block;
    font-weight: 600;
    color: #1a2566;
    margin-bottom: 4px;
    font-size: 14px;
}

.flc-login-card input[type="text"],
.flc-login-card input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d4d8e1;
    border-radius: 4px;
    font-size: 15px;
}

.flc-login-card .flc-form-actions {
    text-align: center;
    margin-top: 8px;
}

.flc-login-card .flc-form-actions input[type="submit"] {
    background: #293792;
    color: #ffffff;
    border: 0;
    border-radius: 4px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.flc-login-card .flc-form-actions input[type="submit"]:hover {
    background: #1a2566;
}

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 960px) {
    .flc-sponsor-grid { grid-template-columns: repeat(3, 1fr); }
    .flc-footer-grid { grid-template-columns: 1fr 1fr; }
    .flc-footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    h1 { font-size: 2rem; }
    .flc-hero { padding: 44px 0 32px; }
    .flc-hero h1 { font-size: 2.25rem; }

    .flc-header .flc-container {
        flex-wrap: wrap;
    }

    .flc-nav-toggle { display: inline-flex; }

    .flc-nav {
        display: none;
        flex-basis: 100%;
    }

    .flc-nav.is-open { display: block; }

    .flc-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 0;
    }

    .flc-nav li { border-top: 1px solid #eceef3; }
    .flc-nav a { display: block; padding: 12px 0; }

    .flc-utility-bar .flc-container {
        justify-content: center;
        gap: 14px;
        font-size: 12px;
    }

    .flc-sponsor-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .flc-form-wrap { padding: 24px; }
    .flc-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .flc-sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}
