/* =========================================================
   FLIGHTIDS GLOBAL THEME SYSTEM V1
   ========================================================= */


/*
 * ---------------------------------------------------------
 * THEME SWITCH
 * ---------------------------------------------------------
 */

.flightids-theme-toggle {
    position: fixed;

    top: 18px;
    right: 18px;

    z-index: 999999;

    display: flex;

    align-items: center;

    gap: 9px;

    box-sizing: border-box;

    min-height: 42px;

    padding:
        7px
        10px
        7px
        12px;

    border:
        1px solid
        rgba(
            126,
            146,
            170,
            .32
        );

    border-radius: 999px;

    background:
        rgba(
            255,
            255,
            255,
            .94
        );

    box-shadow:
        0
        7px
        24px
        rgba(
            18,
            40,
            70,
            .12
        );

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    color:
        #314866;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}


.flightids-theme-toggle-label {
    font-size: 12px;

    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
}


.flightids-theme-switch {
    position: relative;

    display: inline-flex;

    width: 54px;
    height: 28px;

    flex: 0 0 auto;

    cursor: pointer;
}


.flightids-theme-switch input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


.flightids-theme-slider {
    position: absolute;

    inset: 0;

    overflow: hidden;

    border-radius: 999px;

    background:
        #dce6f0;

    box-shadow:
        inset
        0
        1px
        3px
        rgba(
            21,
            46,
            76,
            .16
        );

    transition:
        background .2s ease;
}


.flightids-theme-knob {
    position: absolute;

    top: 3px;
    left: 3px;

    z-index: 3;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0
        2px
        6px
        rgba(
            15,
            35,
            60,
            .28
        );

    transition:
        transform .22s ease,
        background .22s ease;
}


.flightids-theme-sun,
.flightids-theme-moon {
    position: absolute;

    top: 50%;

    z-index: 2;

    transform:
        translateY(-50%);

    font-size: 12px;

    line-height: 1;

    user-select: none;
}


.flightids-theme-sun {
    left: 8px;

    color:
        #8a6410;
}


.flightids-theme-moon {
    right: 8px;

    color:
        #eef5ff;
}


.flightids-theme-switch
input:checked
+
.flightids-theme-slider {
    background:
        linear-gradient(
            135deg,
            #173a68,
            #245a91
        );
}


.flightids-theme-switch
input:checked
+
.flightids-theme-slider
.flightids-theme-knob {
    transform:
        translateX(26px);

    background:
        #f4f8fc;
}


/*
 * Keyboard focus.
 */

.flightids-theme-switch
input:not([type="search"]):focus-visible
+
.flightids-theme-slider {
    outline:
        3px solid
        rgba(
            49,
            132,
            226,
            .38
        );

    outline-offset:
        3px;
}


/*
 * ---------------------------------------------------------
 * DARK THEME BASE
 * ---------------------------------------------------------
 */

html.flightids-dark {
    color-scheme:
        dark;
}


html.flightids-dark body,
html.flightids-dark body.page,
html.flightids-dark body.login,
html.flightids-dark #page,
html.flightids-dark .site,
html.flightids-dark .site-content,
html.flightids-dark .content-area,
html.flightids-dark .site-main {

    background:
        #0d1420 !important;

    color:
        #d9e4f0 !important;
}


/*
 * Main content regions.
 */

html.flightids-dark
.entry-content,

html.flightids-dark
.wp-site-blocks,

html.flightids-dark
.wp-block-group,

html.flightids-dark
.wp-block-post-content {

    color:
        #d9e4f0;
}


/*
 * ---------------------------------------------------------
 * TYPOGRAPHY
 * ---------------------------------------------------------
 */

html.flightids-dark h1,
html.flightids-dark h2,
html.flightids-dark h3,
html.flightids-dark h4,
html.flightids-dark h5,
html.flightids-dark h6,

html.flightids-dark
.entry-content h1,

html.flightids-dark
.entry-content h2,

html.flightids-dark
.entry-content h3,

html.flightids-dark
.flightids-header h1,

html.flightids-dark
.flightids-header h2 {

    color:
        #f2f6fb !important;
}


html.flightids-dark p,
html.flightids-dark li,
html.flightids-dark td,
html.flightids-dark th,
html.flightids-dark label,

html.flightids-dark
.flightids-header p,

html.flightids-dark
.flightids-muted,

html.flightids-dark
.flightids-help {

    color:
        #b4c2d2;
}


html.flightids-dark a {
    color:
        #79b7ff;
}


html.flightids-dark a:hover {
    color:
        #a9d1ff;
}


/*
 * ---------------------------------------------------------
 * FLIGHTIDS CARDS / PANELS
 * ---------------------------------------------------------
 */

html.flightids-dark
.flightids-card,

html.flightids-dark
.flightids-panel,

html.flightids-dark
.flightids-section,

html.flightids-dark
.flightids-connection-card,

html.flightids-dark
.flightids-schedule-card,

html.flightids-dark
.flightids-account-card,

html.flightids-dark
.flightids-login-card,

html.flightids-dark
.flightids-register-card,

html.flightids-dark
.flightids-connect-progress {

    border-color:
        #28384b !important;

    background:
        #151f2d !important;

    color:
        #dbe5ef !important;

    box-shadow:
        0
        14px
        34px
        rgba(
            0,
            0,
            0,
            .25
        ) !important;
}


/*
 * Existing inline-border application blocks.
 */

html.flightids-dark
body.page-id-122
.entry-content
div[style*="border"] {

    border-color:
        #28384b !important;
}


/*
 * ---------------------------------------------------------
 * ACCOUNT PAGE
 * ---------------------------------------------------------
 */

html.flightids-dark
.flightids-account-shell {

    background:
        linear-gradient(
            145deg,
            #0d1420,
            #101a28
        ) !important;
}


html.flightids-dark
.flightids-account-top h1 {

    color:
        #f2f6fb !important;
}


html.flightids-dark
.flightids-account-subtitle,

html.flightids-dark
.flightids-account-card-description,

html.flightids-dark
.flightids-account-help {

    color:
        #97a9bc !important;
}


html.flightids-dark
.flightids-account-status {

    background:
        #1d2a3b;

    color:
        #bed0e2;
}


html.flightids-dark
.flightids-account-link,

html.flightids-dark
.flightids-account-link-danger {

    border-color:
        #34465a;

    background:
        #172334;

    color:
        #86bdff;
}


html.flightids-dark
.flightids-account-link-danger {

    color:
        #ff989d;
}


/*
 * ---------------------------------------------------------
 * INPUTS
 * ---------------------------------------------------------
 */

html.flightids-dark
input[type="text"],

html.flightids-dark
input[type="email"],

html.flightids-dark
input[type="password"],

html.flightids-dark
input[type="number"],

html.flightids-dark

html.flightids-dark
select,

html.flightids-dark
textarea,

html.flightids-dark
.flightids-account-field input {

    border-color:
        #34475d !important;

    background:
        #0f1927 !important;

    color:
        #edf4fb !important;

    box-shadow:
        none !important;
}


html.flightids-dark
input:not([type="search"])::placeholder,

html.flightids-dark
textarea::placeholder {

    color:
        #708398 !important;
}


html.flightids-dark
input:not([type="search"]):focus,

html.flightids-dark
select:focus,

html.flightids-dark
textarea:focus {

    border-color:
        #4f9cf1 !important;

    background:
        #111d2c !important;

    box-shadow:
        0
        0
        0
        3px
        rgba(
            79,
            156,
            241,
            .16
        ) !important;
}


/*
 * ---------------------------------------------------------
 * BUTTONS
 * ---------------------------------------------------------
 */

html.flightids-dark
button,

html.flightids-dark
.button,

html.flightids-dark
input[type="submit"],

html.flightids-dark
.flightids-account-button {

    border-color:
        transparent !important;

    background:
        linear-gradient(
            135deg,
            #286fc5,
            #215896
        ) !important;

    color:
        #fff !important;
}


html.flightids-dark
button:disabled,

html.flightids-dark
.button:disabled {

    opacity:
        .48;
}


/*
 * ---------------------------------------------------------
 * CONNECTION PROGRESS BAR
 * ---------------------------------------------------------
 */

html.flightids-dark
.flightids-connect-progress {

    background:
        linear-gradient(
            180deg,
            #172334,
            #121c29
        ) !important;
}


html.flightids-dark
.flightids-progress-label {

    color:
        #edf4fb;
}


html.flightids-dark
.flightids-progress-detail {

    color:
        #9dafc2;
}


html.flightids-dark
.flightids-progress-track {

    background:
        #263549;
}


html.flightids-dark
.flightids-progress-step {

    color:
        #8295aa;
}


html.flightids-dark
.flightids-progress-step.is-active {

    color:
        #7fc0ff;
}


html.flightids-dark
.flightids-progress-step.is-complete {

    color:
        #a8bad0;
}


html.flightids-dark
.flightids-progress-dot {

    border-color:
        #3b526b;

    background:
        #152233;
}


/*
 * ---------------------------------------------------------
 * NOTICES
 * ---------------------------------------------------------
 */

html.flightids-dark
.flightids-account-success,

html.flightids-dark
.flightids-success {

    border-color:
        #265d43 !important;

    background:
        #132c22 !important;

    color:
        #9ee0bc !important;
}


html.flightids-dark
.flightids-account-error,

html.flightids-dark
.flightids-error {

    border-color:
        #693638 !important;

    background:
        #321a1c !important;

    color:
        #ffb1b4 !important;
}


/*
 * ---------------------------------------------------------
 * WORDPRESS LOGIN
 * ---------------------------------------------------------
 */

html.flightids-dark
body.login {

    background:
        radial-gradient(
            circle
            at
            top,
            #17283d 0%,
            #0d1420 58%
        ) !important;
}


html.flightids-dark
body.login
#login {

    color:
        #dce7f3;
}


html.flightids-dark
body.login
#loginform,

html.flightids-dark
body.login
#registerform,

html.flightids-dark
body.login
#lostpasswordform {

    border-color:
        #293b50 !important;

    background:
        #151f2d !important;

    box-shadow:
        0
        18px
        48px
        rgba(
            0,
            0,
            0,
            .34
        ) !important;
}


html.flightids-dark
body.login
.message,

html.flightids-dark
body.login
.notice {

    border-color:
        #334962 !important;

    background:
        #182536 !important;

    color:
        #d7e3ef !important;
}


html.flightids-dark
body.login
#nav a,

html.flightids-dark
body.login
#backtoblog a {

    color:
        #89bfff !important;
}


/*
 * ---------------------------------------------------------
 * GENERIC TABLES
 * ---------------------------------------------------------
 */

html.flightids-dark table {

    border-color:
        #314258 !important;

    background:
        #141f2d;
}


html.flightids-dark th {

    background:
        #192738;

    color:
        #eef4fb;
}


html.flightids-dark td {

    border-color:
        #2a3b50 !important;
}


/*
 * ---------------------------------------------------------
 * WORDPRESS ADMIN — FLIGHTIDS PAGES ONLY
 * ---------------------------------------------------------
 */

html.flightids-dark
body.wp-admin {

    background:
        #0d1420 !important;
}


html.flightids-dark
body.wp-admin
#wpcontent,

html.flightids-dark
body.wp-admin
#wpbody-content {

    color:
        #dce6f1;
}


html.flightids-dark
body.wp-admin
.wrap h1,

html.flightids-dark
body.wp-admin
.wrap h2,

html.flightids-dark
body.wp-admin
.wrap h3 {

    color:
        #f3f7fb;
}


html.flightids-dark
body.wp-admin
.card,

html.flightids-dark
body.wp-admin
.postbox,

html.flightids-dark
body.wp-admin
.notice {

    border-color:
        #2a3b4f;

    background:
        #151f2d;

    color:
        #dce6f1;
}


/*
 * ---------------------------------------------------------
 * THEME SWITCH WHILE DARK
 * ---------------------------------------------------------
 */

html.flightids-dark
.flightids-theme-toggle {

    border-color:
        #34465b;

    background:
        rgba(
            19,
            30,
            44,
            .94
        );

    color:
        #dce6f1;

    box-shadow:
        0
        8px
        26px
        rgba(
            0,
            0,
            0,
            .32
        );
}


/*
 * ---------------------------------------------------------
 * MOBILE
 * ---------------------------------------------------------
 */

@media (max-width: 700px) {

    .flightids-theme-toggle {

        top: 10px;
        right: 10px;

        min-height:
            38px;

        padding:
            6px
            8px
            6px
            10px;
    }


    .flightids-theme-toggle-label {

        font-size:
            11px;
    }


    .flightids-theme-switch {

        width:
            50px;

        height:
            26px;
    }


    .flightids-theme-knob {

        width:
            20px;

        height:
            20px;
    }


    .flightids-theme-switch
    input:checked
    +
    .flightids-theme-slider
    .flightids-theme-knob {

        transform:
            translateX(
                24px
            );
    }

}


/*
 * Accessibility.
 */

@media (prefers-reduced-motion: reduce) {

    .flightids-theme-toggle,
    .flightids-theme-slider,
    .flightids-theme-knob {

        transition:
            none !important;
    }

}


/* ===== FLIGHTIDS THEME TOGGLE + DARK POLISH V2 ===== */

/*
 * =====================================================
 * GLOBAL THEME TOGGLE POSITION
 * =====================================================
 *
 * Move the dark-theme toggle out of the header so it
 * never collides with navigation or gets clipped.
 * Floating control = cleaner desktop + mobile UX.
 */
.flightids-theme-toggle {
    position: fixed !important;
    top: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    left: auto !important;
    z-index: 99999 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 54px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(16, 42, 86, 0.14) !important;
    box-shadow: 0 14px 36px rgba(6, 18, 38, 0.20) !important;
    backdrop-filter: blur(12px) !important;
}

.flightids-theme-toggle-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #233a61 !important;
    white-space: nowrap !important;
}

/*
 * =====================================================
 * DARK THEME FOUNDATION
 * =====================================================
 */
html.flightids-dark {
    color-scheme: dark;
}

html.flightids-dark body,
html.flightids-dark body.page,
html.flightids-dark body.login,
html.flightids-dark #page,
html.flightids-dark .site,
html.flightids-dark .site-content,
html.flightids-dark .content-area,
html.flightids-dark .site-main {
    background: linear-gradient(180deg, #07111f 0%, #0b1728 100%) !important;
    color: #e6eef9 !important;
}

html.flightids-dark a:hover,
html.flightids-dark a:focus {
    color: #86c5ff !important;
}

/*
 * Headings / text
 */
html.flightids-dark h1,
html.flightids-dark h2,
html.flightids-dark h3,
html.flightids-dark h4,
html.flightids-dark h5,
html.flightids-dark h6 {
    color: #f4f8ff !important;
}

html.flightids-dark p,
html.flightids-dark label,
html.flightids-dark span,
html.flightids-dark li,
html.flightids-dark small,
html.flightids-dark strong,
html.flightids-dark .entry-content,
html.flightids-dark .entry-content p,
html.flightids-dark .entry-content li {
    color: #d7e3f3 !important;
}

/*
 * =====================================================
 * CARD / PANEL POLISH
 * =====================================================
 */
html.flightids-dark .flightids-card,
html.flightids-dark .flightids-panel,
html.flightids-dark .flightids-section,
html.flightids-dark .flightids-connect-progress,
html.flightids-dark .flightids-output-card,
html.flightids-dark #flightids-output-card,
html.flightids-dark .flightids-account-card,
html.flightids-dark .flightids-login-card,
html.flightids-dark .flightids-register-card,
html.flightids-dark .flightids-auth-card,
html.flightids-dark .flightids-login-panel,
html.flightids-dark .flightids-register-panel,
html.flightids-dark .flightids-account-panel,
html.flightids-dark .flightids-dashboard-card,
html.flightids-dark .flightids-dashboard section,
html.flightids-dark .flightids-dashboard > div,
html.flightids-dark .entry-content .flightids-dashboard > div {
    background: linear-gradient(180deg, #122238 0%, #102033 100%) !important;
    color: #eaf2ff !important;
    border: 1px solid rgba(137, 167, 211, 0.18) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34) !important;
}

html.flightids-dark .flightids-card h1,
html.flightids-dark .flightids-card h2,
html.flightids-dark .flightids-card h3,
html.flightids-dark .flightids-panel h1,
html.flightids-dark .flightids-panel h2,
html.flightids-dark .flightids-panel h3,
html.flightids-dark .flightids-section h1,
html.flightids-dark .flightids-section h2,
html.flightids-dark .flightids-section h3,
html.flightids-dark #flightids-output-card h1,
html.flightids-dark #flightids-output-card h2,
html.flightids-dark #flightids-output-card h3 {
    color: #f4f8ff !important;
}

/*
 * Status pills / badges
 */
html.flightids-dark .flightids-connected,
html.flightids-dark .flightids-status-pill,
html.flightids-dark .flightids-badge {
    background: rgba(83, 163, 255, 0.16) !important;
    color: #9fd0ff !important;
    border-color: rgba(117, 188, 255, 0.18) !important;
}

/*
 * Forms
 */
html.flightids-dark input[type="text"],
html.flightids-dark input[type="email"],
html.flightids-dark input[type="password"],
html.flightids-dark input[type="number"],
html.flightids-dark select,
html.flightids-dark textarea {
    background: #0a1930 !important;
    color: #eff5ff !important;
    border: 1px solid rgba(141, 170, 212, 0.28) !important;
    box-shadow: none !important;
}

html.flightids-dark input:not([type="search"])::placeholder,
html.flightids-dark textarea::placeholder {
    color: #9fb2cc !important;
}

html.flightids-dark input:not([type="search"]):focus,
html.flightids-dark select:focus,
html.flightids-dark textarea:focus {
    border-color: #59a9ff !important;
    box-shadow: 0 0 0 3px rgba(89, 169, 255, 0.16) !important;
    outline: none !important;
}

/*
 * Buttons
 */
html.flightids-dark button,
html.flightids-dark .button,
html.flightids-dark input[type="submit"],
html.flightids-dark .wp-element-button,
html.flightids-dark .flightids-button {
    background: linear-gradient(180deg, #2c73d8 0%, #235ab6 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 22px rgba(25, 71, 144, 0.30) !important;
}

html.flightids-dark button:hover,
html.flightids-dark .button:hover,
html.flightids-dark input[type="submit"]:hover,
html.flightids-dark .wp-element-button:hover,
html.flightids-dark .flightids-button:hover {
    filter: brightness(1.06);
}

html.flightids-dark .flightids-theme-toggle {
    background: rgba(12, 25, 45, 0.96) !important;
    border: 1px solid rgba(152, 182, 226, 0.18) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42) !important;
}

html.flightids-dark .flightids-theme-toggle-label {
    color: #eaf2ff !important;
}

/*
 * Notices / alerts
 */
html.flightids-dark .flightids-error,
html.flightids-dark .notice-error,
html.flightids-dark .flightids-connect-error {
    background: rgba(127, 31, 38, 0.24) !important;
    color: #ffd5d8 !important;
    border-color: rgba(255, 123, 132, 0.28) !important;
}

html.flightids-dark .notice-success,
html.flightids-dark .flightids-success {
    background: rgba(24, 111, 68, 0.24) !important;
    color: #d9ffeb !important;
    border-color: rgba(103, 216, 161, 0.24) !important;
}

/*
 * =====================================================
 * MOBILE
 * =====================================================
 */
@media (max-width: 991px) {
    .flightids-theme-toggle {
        right: 14px !important;
        bottom: 14px !important;
        min-height: 50px !important;
        padding: 10px 12px !important;
    }

    .flightids-theme-toggle-label {
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    .flightids-theme-toggle {
        right: 12px !important;
        bottom: 12px !important;
        max-width: calc(100vw - 24px) !important;
        min-height: 48px !important;
        padding: 9px 12px !important;
        gap: 8px !important;
    }

    .flightids-theme-toggle-label {
        font-size: 13px !important;
    }
}

/* ===== END FLIGHTIDS THEME TOGGLE + DARK POLISH V2 ===== */

/* ===== FLIGHTIDS PREMIUM SCHEDULE DARK V1 ===== */


/*
 * Premium dark canvas.
 */

html.flightids-dark
body.page-id-122 {

    background:
        radial-gradient(
            circle
            at 50% -180px,
            rgba(
                43,
                105,
                175,
                .24
            ),
            transparent
            470px
        ),
        linear-gradient(
            180deg,
            #081321 0%,
            #0b1726 100%
        ) !important;
}


/*
 * Header.
 */

html.flightids-dark
body.page-id-122
.flightids-header::before {

    color:
        #63adf4 !important;
}


html.flightids-dark
body.page-id-122
.flightids-header h1,

html.flightids-dark
body.page-id-122
.flightids-header h2 {

    color:
        #f4f8fd !important;
}


html.flightids-dark
body.page-id-122
.flightids-header p {

    color:
        #9fb0c5 !important;
}


/*
 * Cards.
 */

html.flightids-dark
body.page-id-122
.flightids-card,

html.flightids-dark
body.page-id-122
.flightids-panel,

html.flightids-dark
body.page-id-122
.flightids-section,

html.flightids-dark
body.page-id-122
.flightids-connection-card,

html.flightids-dark
body.page-id-122
.flightids-schedule-card,

html.flightids-dark
body.page-id-122
.entry-content
> div[style*="border"] {

    border-color:
        #263a51 !important;

    background:
        linear-gradient(
            180deg,
            #132238 0%,
            #101d30 100%
        ) !important;

    color:
        #dce7f3 !important;

    box-shadow:
        0
        18px
        44px
        rgba(
            0,
            0,
            0,
            .28
        ) !important;
}


html.flightids-dark
body.page-id-122
.flightids-card h2,

html.flightids-dark
body.page-id-122
.flightids-card h3,

html.flightids-dark
body.page-id-122
.flightids-panel h2,

html.flightids-dark
body.page-id-122
.flightids-panel h3,

html.flightids-dark
body.page-id-122
.flightids-section h2,

html.flightids-dark
body.page-id-122
.flightids-section h3,

html.flightids-dark
body.page-id-122
.entry-content
> div[style*="border"]
> h2,

html.flightids-dark
body.page-id-122
.entry-content
> div[style*="border"]
> h3 {

    color:
        #f2f7fc !important;
}


/*
 * General card copy.
 */

html.flightids-dark
body.page-id-122
.flightids-card p,

html.flightids-dark
body.page-id-122
.flightids-panel p,

html.flightids-dark
body.page-id-122
.flightids-section p,

html.flightids-dark
body.page-id-122
.entry-content
> div[style*="border"]
p {

    color:
        #b4c3d5 !important;
}


/*
 * Connected status.
 */

/*
 * Neutral connection status.
 */

html.flightids-dark
body.page-id-122
#flightids-status {

    border-color:
        rgba(153, 184, 219, .18) !important;

    background:
        rgba(255, 255, 255, .05) !important;

    color:
        #b4c3d5 !important;
}


/*
 * Connected status.
 */

html.flightids-dark
body.page-id-122
#flightids-status.flightids-connected {

    border-color:
        rgba(
            74,
            190,
            125,
            .27
        ) !important;

    background:
        rgba(
            43,
            133,
            83,
            .18
        ) !important;

    color:
        #86ddb0 !important;
}


/*
 * Disconnected status.
 */

html.flightids-dark
body.page-id-122
#flightids-status.flightids-disconnected {

    border-color:
        rgba(255, 119, 129, .28) !important;

    background:
        rgba(255, 91, 105, .12) !important;

    color:
        #ff9aa3 !important;

    box-shadow:
        none !important;
}


html.flightids-dark
body.page-id-122
#flightids-credential-status {

    color:
        #9fafc2 !important;
}


/*
 * Forms.
 */

html.flightids-dark
body.page-id-122
input[type="text"],

html.flightids-dark
body.page-id-122
input[type="email"],

html.flightids-dark
body.page-id-122
input[type="password"],

html.flightids-dark
body.page-id-122
select,

html.flightids-dark
body.page-id-122
textarea {

    border-color:
        #334b64 !important;

    background:
        #0c1a2a !important;

    color:
        #edf4fc !important;

    box-shadow:
        inset
        0
        1px
        2px
        rgba(
            0,
            0,
            0,
            .20
        ) !important;
}


html.flightids-dark
body.page-id-122
select option {

    background:
        #0c1a2a;

    color:
        #edf4fc;
}


html.flightids-dark
body.page-id-122
input:not([type="search"]):focus,

html.flightids-dark
body.page-id-122
select:focus,

html.flightids-dark
body.page-id-122
textarea:focus {

    border-color:
        #5daaf4 !important;

    background:
        #0e2033 !important;

    box-shadow:
        0
        0
        0
        4px
        rgba(
            93,
            170,
            244,
            .13
        ) !important;
}


/*
 * Roster period.
 */

html.flightids-dark
body.page-id-122
#flightids-roster-period,

html.flightids-dark
body.page-id-122
.flightids-roster-period {

    color:
        #91a3b7 !important;
}


/*
 * Connection progress.
 */

html.flightids-dark
body.page-id-122
.flightids-connect-progress {

    border-color:
        #2c435b !important;

    background:
        linear-gradient(
            180deg,
            #17283d,
            #122235
        ) !important;

    box-shadow:
        none !important;
}


html.flightids-dark
body.page-id-122
.flightids-progress-label {

    color:
        #eff5fc !important;
}


html.flightids-dark
body.page-id-122
.flightids-progress-detail {

    color:
        #9eafc2 !important;
}


/*
 * FFDO output intentionally stays darker than
 * the rest of the application.
 */

html.flightids-dark
body.page-id-122
#flightids-output-card,

html.flightids-dark
body.page-id-122
.flightids-output-card {

    border-color:
        #2f577e !important;

    background:
        linear-gradient(
            145deg,
            #0b1a2a,
            #102943
        ) !important;
}


/* ===== END FLIGHTIDS WORDPRESS ADMIN BAR FIX V1 ===== */

/* ===== FLIGHTIDS SHORTCODE THEME TOGGLE LAYOUT V1 =====
 *
 * The theme control is now placed through:
 * [flightids_theme_toggle]
 *
 * WordPress / Elementor controls its location.
 * FlightIDs controls only the component itself.
 */

.flightids-theme-toggle {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    inset: auto !important;
    z-index: auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
}

/* ===== END FLIGHTIDS SHORTCODE THEME TOGGLE LAYOUT V1 ===== */



/* ===== FLIGHTIDS CLEAN COMPACT THEME TOGGLE V3 ===== */

/*
 * Compact header pill.
 * Placement remains controlled by WordPress / Elementor.
 */

.flightids-theme-toggle {
    min-height: 30px !important;
    height: auto !important;

    padding: 4px 8px !important;
    gap: 6px !important;

    border-radius: 999px !important;
}

.flightids-theme-toggle-label {
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}


/*
 * ---------------------------------------------------------
 * CLEAN SWITCH
 * ---------------------------------------------------------
 *
 * No icons, images, sun/moon graphics or decorative symbols.
 */

.flightids-theme-switch {
    position: relative !important;

    display: inline-flex !important;

    width: 34px !important;
    height: 18px !important;

    min-width: 34px !important;

    flex: 0 0 34px !important;

    cursor: pointer !important;
}


/*
 * Track
 */

.flightids-theme-slider {
    position: absolute !important;

    inset: 0 !important;

    overflow: hidden !important;

    border-radius: 999px !important;

    background: #c9d4df !important;
    background-image: none !important;

    box-shadow:
        inset 0 0 0 1px
        rgba(39, 63, 89, .10) !important;

    transition:
        background-color .18s ease !important;
}


/*
 * Remove any legacy icon layers defensively.
 */

.flightids-theme-sun,
.flightids-theme-moon {
    display: none !important;
}


/*
 * Knob
 */

.flightids-theme-knob {
    position: absolute !important;

    top: 2px !important;
    left: 2px !important;

    width: 14px !important;
    height: 14px !important;

    border-radius: 50% !important;

    background: #ffffff !important;
    background-image: none !important;

    box-shadow:
        0 1px 3px
        rgba(18, 38, 60, .28) !important;

    transform: translateX(0) !important;

    transition:
        transform .18s ease !important;
}


/*
 * Dark Theme = ON
 */

.flightids-theme-switch
input:checked
+
.flightids-theme-slider {
    background: #2d6fb7 !important;
    background-image: none !important;
}


.flightids-theme-switch
input:checked
+
.flightids-theme-slider
.flightids-theme-knob {
    transform: translateX(16px) !important;

    background: #ffffff !important;
}


/*
 * Keyboard accessibility.
 */

.flightids-theme-switch
input:focus-visible
+
.flightids-theme-slider {
    outline: 2px solid rgba(45, 111, 183, .35) !important;
    outline-offset: 2px !important;
}


/* ===== END FLIGHTIDS CLEAN COMPACT THEME TOGGLE V3 ===== */

/* ===== FLIGHTIDS THEME PILL NO SHADOW V1 ===== */

.flightids-theme-toggle {
    box-shadow: none !important;
}

/* ===== END FLIGHTIDS THEME PILL NO SHADOW V1 ===== */

/* ===== FLIGHTIDS THEME PILL NO SHADOW DARK V1 ===== */

html.flightids-dark .flightids-theme-toggle {
    box-shadow: none !important;
}

/* ===== END FLIGHTIDS THEME PILL NO SHADOW DARK V1 ===== */

/* ===== FLIGHTIDS MOBILE THEME SWITCH SIZE V1 ===== */

@media (max-width: 640px) {

    /*
     * Keep the existing compact pill.
     * Increase only the switch itself for better
     * proportion and touch visibility on mobile.
     */

    .flightids-theme-switch {
        width: 40px !important;
        height: 22px !important;

        min-width: 40px !important;

        flex: 0 0 40px !important;
    }

    .flightids-theme-knob {
        top: 2px !important;
        left: 2px !important;

        width: 18px !important;
        height: 18px !important;
    }

    .flightids-theme-switch
    input:checked
    +
    .flightids-theme-slider
    .flightids-theme-knob {
        transform: translateX(18px) !important;
    }

}

/* ===== END FLIGHTIDS MOBILE THEME SWITCH SIZE V1 ===== */


/* ===== FLIGHTIDS THEME SWITCH ALIGNMENT V3 ===== */

/*
 * Schedule Export originally required a 3px optical
 * adjustment.
 *
 * Other FlightIDs pages use the natural flex-centered
 * position and must not inherit that offset.
 */

/* FFDO Schedule Export */
body.page-id-122
.flightids-theme-switch {
    transform: translateY(3px) !important;
}


/* Login */
body.page-id-123
.flightids-theme-switch,

/* Register */
body.page-id-125
.flightids-theme-switch,

body.flightids-register-page
.flightids-theme-switch,

/* Account */
body.page-id-127
.flightids-theme-switch,

/* User Dashboard */
body.page-id-136
.flightids-theme-switch {
    transform: translateY(0) !important;
}

/* ===== END FLIGHTIDS THEME SWITCH ALIGNMENT V3 ===== */
