:root {
    --nta-green: #8DC853;
    --nta-green-mid: #5FA832;
    --nta-green-dark: #244D18;
    --nta-green-deep: #17310F;
    --nta-gold: #F2AE0A;
    --nta-light: #F4F9EF;
    --nta-surface: #FFFFFF;
    --nta-border: #DCE8D5;
    --nta-muted: #6A7768;
    --nta-text: #1D2A1A;
    --nta-shadow: 0 18px 45px rgba(26, 55, 18, .09);
    --nta-shadow-soft: 0 8px 24px rgba(26, 55, 18, .07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 8%, rgba(141, 200, 83, .17), transparent 28rem),
        var(--nta-light);
    color: var(--nta-text);
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.55;
}

a {
    color: var(--nta-green-dark);
    transition: color .2s ease, opacity .2s ease;
}

a:hover {
    color: var(--nta-green-mid);
}

.site-main {
    min-height: calc(100vh - 170px);
}

.navbar-nta {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(105deg, var(--nta-green-deep), var(--nta-green-dark));
    box-shadow: 0 7px 22px rgba(23, 49, 15, .16);
}

.navbar-nta .container {
    min-height: 72px;
}

.navbar-nta .navbar-brand,
.navbar-nta .nav-link {
    color: #fff !important;
    font-weight: 650;
}

.ncz-brand {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 16px;
    background: #fff;
    line-height: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.ncz-logo {
    display: block;
    width: auto;
    height: 44px;
    max-width: 205px;
    object-fit: contain;
}

.navbar-nta .navbar-nav {
    align-items: center;
    gap: .25rem;
}

.navbar-nta .nav-link {
    position: relative;
    margin-left: 0;
    padding: .55rem .72rem !important;
    border: 0;
    border-radius: 8px;
    opacity: .9;
    white-space: nowrap;
    transition: color .2s ease, opacity .2s ease;
}

.navbar-nta .nav-link::before {
    position: absolute;
    right: .72rem;
    bottom: .18rem;
    left: .72rem;
    height: 2px;
    border-radius: 99px;
    background: var(--nta-green);
    content: '';
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease;
}

.navbar-nta .nav-link:hover,
.navbar-nta .nav-link:focus,
.navbar-nta .show > .nav-link {
    color: #fff !important;
    background: transparent;
    opacity: 1;
}

.navbar-nta .nav-link:hover::before,
.navbar-nta .nav-link:focus::before,
.navbar-nta .show > .nav-link::before {
    opacity: 1;
    transform: scaleX(1);
}

.navbar-nta .dropdown-toggle::after {
    margin-left: .42rem;
    vertical-align: .14em;
    border-top-color: rgba(255, 255, 255, .72);
    border-right-width: .28em;
    border-left-width: .28em;
}

.navbar-nta .dropdown {
    position: relative;
}

.navbar-nta .dropdown-menu {
    min-width: 220px;
    margin-top: .65rem;
    padding: .45rem;
    border: 1px solid rgba(220, 232, 213, .95);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 38px rgba(23, 49, 15, .18);
    overflow: hidden;
}

@media (min-width: 992px) {
    .navbar-nta .dropdown:hover::after {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1031;
        height: .7rem;
        content: '';
    }
}

.navbar-nta .dropdown-item {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: .58rem .72rem;
    border-radius: 12px;
    color: var(--nta-text);
    font-weight: 650;
}

.navbar-nta .dropdown-item:hover,
.navbar-nta .dropdown-item:focus {
    background: var(--nta-light);
    color: var(--nta-green-dark);
}

.navbar-nta .dropdown-divider {
    border-color: var(--nta-border);
}

.navbar-nta .dropdown-menu form {
    margin: 0;
}

.navbar-nta .dropdown-menu form .dropdown-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.navbar-nta .btn {
    border-radius: 999px;
    font-weight: 750;
}

.navbar-nta .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 12px;
    padding: .42rem .56rem;
}

.navbar-nta .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(141, 200, 83, .28);
}

@media (min-width: 992px) {
    .navbar-nta .dropdown:hover > .dropdown-menu {
        display: block;
        animation: ncz-menu-in .16s ease-out;
    }

    .navbar-nta .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

@keyframes ncz-menu-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    padding: 84px 0 76px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(141, 200, 83, .22), transparent 23rem),
        linear-gradient(135deg, var(--nta-green-deep) 0%, var(--nta-green-dark) 65%, #396E20 100%);
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel .hero-slide-img {
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-item {
    min-height: 480px;
}

.hero-carousel .hero-slide-img {
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: .29;
    filter: saturate(.82) contrast(1.12);
}

.hero-carousel::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 49, 15, .93) 0%, rgba(23, 49, 15, .7) 48%, rgba(23, 49, 15, .35) 100%);
    content: '';
}

.hero-carousel .carousel-indicators {
    z-index: 3;
    margin-bottom: 1rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 4px;
    border: 0;
    border-radius: 99px;
    background-color: rgba(255, 255, 255, .55);
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--nta-green);
}

.hero::after {
    position: absolute;
    right: -8rem;
    bottom: -12rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(255, 255, 255, .035), 0 0 0 6rem rgba(255, 255, 255, .025);
    content: '';
}

.hero .container {
    position: relative;
    z-index: 2;
}

.partners-strip {
    padding: 1.4rem 0;
    border-top: 1px solid var(--nta-border);
    border-bottom: 1px solid var(--nta-border);
    background: rgba(255, 255, 255, .68);
}

.partners-strip-label {
    color: var(--nta-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.partner-logo {
    display: block;
    max-width: 122px;
    max-height: 34px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .64;
    transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}

.hero .eyebrow,
.section-eyebrow {
    margin-bottom: .9rem;
    color: var(--nta-green);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 680px;
    margin-bottom: 1rem;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.hero .lead {
    max-width: 640px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.14rem;
}

.hero-panel {
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
    backdrop-filter: blur(10px);
}

.hero-panel-label {
    color: rgba(255, 255, 255, .64);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-panel-value {
    margin-top: .35rem;
    font-size: 1.7rem;
    font-weight: 800;
}

.hero-panel-divider {
    height: 1px;
    margin: 1.1rem 0;
    background: rgba(255, 255, 255, .15);
}

.hero .btn-gold {
    border: 0;
    background: var(--nta-green);
    color: var(--nta-green-deep);
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.hero .btn-gold:hover {
    background: #A4D96B;
    color: var(--nta-green-deep);
    transform: translateY(-1px);
}

.section-block {
    padding: 4.5rem 0;
}

.section-heading {
    margin-bottom: 1.6rem;
}

.section-heading h2,
.section-heading h3 {
    margin-bottom: .35rem;
    color: var(--nta-green-deep);
    font-weight: 800;
    letter-spacing: -.025em;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--nta-muted);
}

.page-hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 230px;
    margin-bottom: 2.7rem;
    overflow: hidden;
    color: #fff;
    background-position: center;
    background-size: cover;
}

.page-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 49, 15, .94), rgba(36, 77, 24, .62), rgba(36, 77, 24, .28));
    content: '';
}

.page-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2.5rem 0;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.page-hero p {
    max-width: 650px;
    margin: .55rem 0 0;
    color: rgba(255, 255, 255, .78);
}

.page-hero-fleet {
    background-image: url('../img/reference/heading-fleet.jpg');
}

.page-hero-routes {
    background-image: url('../img/reference/heading-route.jpg');
}

.page-hero-stats {
    background-image: url('../img/reference/heading-stats.jpg');
}

.page-hero-members {
    background-image: url('../img/reference/heading-members.jpg');
}

.page-hero-career {
    background-image: url('../img/reference/heading-career.jpg');
}

.feature-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid var(--nta-border);
    border-radius: 18px;
    background: var(--nta-surface);
    box-shadow: var(--nta-shadow-soft);
}

.feature-card .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: var(--nta-light);
    color: var(--nta-green-dark);
    font-size: 1.25rem;
}

.feature-card h3,
.feature-card h4,
.feature-card h5 {
    color: var(--nta-green-deep);
    font-weight: 800;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--nta-muted);
}

.pilot-card {
    position: relative;
    height: 100%;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--nta-border);
    border-radius: 18px;
    background: var(--nta-surface);
    box-shadow: var(--nta-shadow-soft);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pilot-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--nta-green), var(--nta-gold));
    content: '';
}

.pilot-card:hover {
    border-color: rgba(95, 168, 50, .55);
    transform: translateY(-4px);
    box-shadow: var(--nta-shadow);
}

.pilot-avatar {
    width: 82px;
    height: 82px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--nta-light);
    box-shadow: 0 0 0 1px var(--nta-border), 0 8px 18px rgba(36, 77, 24, .12);
    object-fit: cover;
}

.stat-card {
    height: 100%;
    padding: 1.25rem 1rem;
    border: 1px solid var(--nta-border);
    border-radius: 18px;
    background: var(--nta-surface);
    box-shadow: var(--nta-shadow-soft);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--nta-shadow);
}

.stat-card .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: .6rem;
    border-radius: 12px;
    background: rgba(141, 200, 83, .16);
    color: var(--nta-green-dark);
}

.stat-card .stat-number {
    color: var(--nta-green-dark);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.stat-card .stat-label {
    color: var(--nta-muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.card-nta {
    border: 1px solid var(--nta-border);
    border-radius: 18px;
    background: var(--nta-surface);
    box-shadow: var(--nta-shadow-soft);
}

.card-nta h4,
.card-nta h5,
.card-nta h6 {
    color: var(--nta-green-deep);
    font-weight: 800;
}

.card-nta .card-header {
    border-bottom: 1px solid var(--nta-border);
    background: transparent;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(141, 200, 83, .045);
    --bs-table-hover-bg: rgba(141, 200, 83, .08);
    color: var(--nta-text);
    vertical-align: middle;
}

.table thead th {
    border-bottom-color: var(--nta-border);
    color: var(--nta-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.table tbody td {
    border-color: var(--nta-border);
}

.list-group-item {
    border-color: var(--nta-border);
    background: transparent;
}

.badge-rank {
    background: rgba(242, 174, 10, .18);
    color: #805C00;
    font-weight: 800;
}

.leg-badge {
    background: var(--nta-green-dark);
}

.badge.bg-success {
    background-color: var(--nta-green-mid) !important;
}

.btn {
    border-radius: 10px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border-color: var(--nta-green-dark);
    background-color: var(--nta-green-dark);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--nta-green-mid);
    background-color: var(--nta-green-mid);
}

.btn-outline-primary {
    border-color: var(--nta-green-dark);
    color: var(--nta-green-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: var(--nta-green-dark);
    background-color: var(--nta-green-dark);
    color: #fff;
}

.btn-outline-secondary {
    border-color: #B9C7B4;
    color: #52604F;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    border-color: var(--nta-green-dark);
    background: var(--nta-green-dark);
    color: #fff;
}

.form-control,
.form-select {
    border-color: var(--nta-border);
    border-radius: 10px;
    color: var(--nta-text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--nta-green-mid);
    box-shadow: 0 0 0 .2rem rgba(141, 200, 83, .2);
}

.alert {
    border: 0;
    border-radius: 14px;
}

.alert-info {
    background: rgba(141, 200, 83, .14);
    color: var(--nta-green-dark);
}

footer {
    margin-top: 4rem;
    padding: 42px 0;
    background: var(--nta-green-deep);
    color: rgba(255, 255, 255, .68);
}

footer a {
    color: var(--nta-green);
    font-weight: 700;
}

.sidebar {
    min-height: calc(100vh - 78px);
    padding: 1.2rem .75rem !important;
    border-right: 1px solid var(--nta-border);
    background: rgba(255, 255, 255, .82);
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 4px 0;
    padding: 11px 14px;
    border-radius: 11px;
    color: #52604F;
    font-weight: 650;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
    background: var(--nta-green-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(36, 77, 24, .18);
}

.sidebar hr {
    border-color: var(--nta-border);
    opacity: 1;
}

.admin-content {
    max-width: 1440px;
}

.page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-toolbar h1,
.page-toolbar h2,
.page-toolbar h3 {
    margin: 0;
    color: var(--nta-green-deep);
    font-weight: 800;
    letter-spacing: -.03em;
}

.page-toolbar p {
    margin: .25rem 0 0;
    color: var(--nta-muted);
}

@media (max-width: 991.98px) {
    .navbar-nta .container {
        min-height: 68px;
    }

    .ncz-logo {
        height: 38px;
        max-width: 170px;
    }

    .navbar-nta .navbar-collapse {
        padding: .7rem 0 .85rem;
    }

    .navbar-nta .navbar-nav {
        align-items: stretch;
        gap: .15rem;
    }

    .navbar-nta .nav-link {
        margin-left: 0;
        padding: .65rem .8rem !important;
        border-radius: 10px;
    }

    .navbar-nta .nav-link::before {
        right: .8rem;
        bottom: .3rem;
        left: .8rem;
    }

    .navbar-nta .dropdown-menu {
        min-width: 0;
        margin: .15rem 0 .35rem;
        padding: .35rem;
        border: 0;
        border-left: 2px solid rgba(141, 200, 83, .55);
        border-radius: 0 12px 12px 0;
        background: rgba(23, 49, 15, .22);
        box-shadow: none;
    }

    .navbar-nta .dropdown-item {
        min-height: 38px;
        color: rgba(255, 255, 255, .9);
        font-weight: 600;
    }

    .navbar-nta .dropdown-item:hover,
    .navbar-nta .dropdown-item:focus {
        color: #fff;
        background: rgba(141, 200, 83, .16);
    }

    .navbar-nta .dropdown-divider {
        border-color: rgba(255, 255, 255, .18);
    }

    .navbar-nta .dropdown-menu form .dropdown-item {
        color: rgba(255, 255, 255, .9);
    }

    .hero {
        min-height: 530px;
        padding: 62px 0 56px;
    }

    .hero-carousel .carousel-item {
        min-height: 530px;
    }

    .hero-carousel .hero-slide-img {
        object-position: 62% center;
    }

    .section-block {
        padding: 3rem 0;
    }

    .page-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .sidebar {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--nta-border);
    }
}

/* -------------------------------------------------------------------------
   NCZ operation feedback / microinteractions
   ------------------------------------------------------------------------- */
.ncz-feedback-layer {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(23, 49, 15, .48);
    backdrop-filter: blur(5px);
    animation: ncz-feedback-fade-in .18s ease-out both;
}

.ncz-feedback-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 1rem;
    width: min(100%, 560px);
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(141, 200, 83, .45);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(23, 49, 15, .32);
    animation: ncz-feedback-card-in .28s cubic-bezier(.2, .8, .2, 1) both;
}

.ncz-feedback-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: '';
    background: linear-gradient(90deg, var(--nta-green-light), var(--nta-green), var(--nta-gold));
}

.ncz-feedback-closing {
    animation: ncz-feedback-fade-out .18s ease-in both;
}

.ncz-feedback-closing .ncz-feedback-card {
    animation: ncz-feedback-card-out .18s ease-in both;
}

.ncz-feedback-close {
    position: absolute;
    top: .8rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: var(--nta-muted);
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
}

.ncz-feedback-close:hover,
.ncz-feedback-close:focus-visible {
    color: var(--nta-green-deep);
    background: var(--nta-bg);
}

.ncz-feedback-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    color: var(--nta-green-deep);
    background: linear-gradient(145deg, #eaf6dc, #f8fce9);
    font-size: 2rem;
}

.ncz-feedback-body {
    min-width: 0;
    padding-right: 1.2rem;
}

.ncz-feedback-body h2 {
    margin: .25rem 0 .35rem;
    color: var(--nta-green-deep);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.ncz-feedback-detail {
    margin-bottom: .5rem;
    color: var(--nta-muted);
}

.ncz-feedback-meta {
    display: block;
    margin-top: .6rem;
    color: var(--nta-muted);
}

.ncz-feedback-continue {
    grid-column: 2;
    justify-self: start;
    min-width: 130px;
    border-radius: 12px;
}

.ncz-feedback-card.ncz-feedback-pirep_rejected .ncz-feedback-icon,
.ncz-feedback-card.ncz-feedback-emergency_decision .ncz-feedback-icon {
    color: #8a5c00;
    background: #fff5d6;
}

.ncz-route-pill {
    display: inline-flex;
    max-width: 100%;
    margin-top: .35rem;
    padding: .45rem .7rem;
    overflow-wrap: anywhere;
    border: 1px solid rgba(95, 168, 50, .22);
    border-radius: 999px;
    color: var(--nta-green-deep);
    background: var(--nta-bg);
    font-size: .9rem;
    font-weight: 750;
}

.ncz-reward-value {
    display: inline-block;
    margin-top: .8rem;
    color: #397b1e;
    font-size: 1.2rem;
}

.ncz-transfer-visual,
.ncz-flight-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    grid-column: 1 / -1;
    min-height: 78px;
    padding: .8rem 1rem;
    border-radius: 18px;
    background: linear-gradient(90deg, #f4f9ef, #fbfdf8);
}

.ncz-coin {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid var(--nta-gold);
    border-radius: 50%;
    color: #755000;
    background: #fff3bf;
    font-size: .72rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(242, 174, 10, .22);
}

.ncz-transfer-arrow {
    color: var(--nta-green);
    font-size: 1.5rem;
    animation: ncz-transfer-arrow 1s ease-in-out infinite alternate;
}

.ncz-flight-visual {
    gap: .65rem;
}

.ncz-airport-chip {
    flex: 0 0 auto;
    padding: .42rem .58rem;
    border-radius: 9px;
    color: var(--nta-green-deep);
    background: #eaf6dc;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.ncz-flight-track {
    position: relative;
    flex: 1 1 160px;
    height: 30px;
}

.ncz-flight-track::before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    border-top: 2px dashed rgba(95, 168, 50, .45);
    content: '';
}

.ncz-flying-plane {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    color: var(--nta-green);
    transform: translateY(-50%);
    animation: ncz-plane-fly 1.8s cubic-bezier(.35, .05, .3, 1) .2s both;
}

.ncz-is-submitting {
    cursor: wait;
    opacity: .82;
}

@keyframes ncz-feedback-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ncz-feedback-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes ncz-feedback-card-in {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ncz-feedback-card-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(10px) scale(.98); }
}

@keyframes ncz-plane-fly {
    from { left: 0; transform: translateY(-50%) rotate(0deg); }
    to { left: calc(100% - 1.2rem); transform: translateY(-50%) rotate(0deg); }
}

@keyframes ncz-transfer-arrow {
    from { transform: translateX(-4px); opacity: .55; }
    to { transform: translateX(4px); opacity: 1; }
}

@media (max-width: 575.98px) {
    .ncz-feedback-card {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: .75rem;
        padding: 1.5rem 1.2rem 1.2rem;
        border-radius: 20px;
    }

    .ncz-feedback-icon {
        width: 52px;
        height: 52px;
        border-radius: 17px;
        font-size: 1.5rem;
    }

    .ncz-feedback-continue {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ncz-feedback-body {
        padding-right: .5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ncz-feedback-layer,
    .ncz-feedback-card,
    .ncz-feedback-closing,
    .ncz-feedback-closing .ncz-feedback-card,
    .ncz-transfer-arrow,
    .ncz-flying-plane {
        animation: none !important;
        transition: none !important;
    }
}

/* Hotfix: feedback e confirmações sempre ficam acima do conteúdo e do rodapé. */
body > .ncz-feedback-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: grid !important;
    width: 100vw !important;
    min-height: 100dvh !important;
    box-sizing: border-box !important;
    place-items: center !important;
}

body.ncz-modal-open {
    overflow: hidden;
}

.ncz-confirm-card {
    max-width: 520px;
}

.ncz-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    grid-column: 2;
    margin-top: .4rem;
}

.ncz-confirm-actions .btn {
    min-width: 130px;
    border-radius: 12px;
}

@media (max-width: 575.98px) {
    .ncz-confirm-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ncz-confirm-actions .btn {
        flex: 1 1 0;
    }
}

/* Meu Espaço — dashboard integrado do piloto */
.pilot-space-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(141, 200, 83, .3);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f9ef 62%, #e9f5dc 100%);
    box-shadow: var(--nta-shadow-soft);
}

.pilot-space-identity { display: flex; align-items: center; gap: 1.15rem; min-width: 0; }
.pilot-space-avatar {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    border: 5px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: var(--nta-light);
    box-shadow: 0 0 0 1px var(--nta-border), 0 12px 24px rgba(36, 77, 24, .14);
}
.pilot-space-avatar-placeholder { display: flex; align-items: center; justify-content: center; color: var(--nta-green-dark); font-size: 3rem; }
.pilot-space-heading h1 { margin: .2rem 0 .55rem; color: var(--nta-green-deep); font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.pilot-space-meta, .pilot-space-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; color: var(--nta-muted); font-size: .9rem; }
.pilot-space-rank { color: var(--nta-green-dark); font-weight: 700; }
.pilot-status-pill, .pilot-location-pill { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.pilot-status-pill.is-ready { color: #2f6b20; background: rgba(141, 200, 83, .2); }
.pilot-status-pill.is-active { color: #245d91; background: rgba(76, 145, 196, .14); }
.pilot-status-pill.is-warning { color: #8a5b00; background: rgba(242, 174, 10, .18); }
.pilot-location-pill { color: var(--nta-green-deep); background: #fff; border: 1px solid var(--nta-border); }
.pilot-space-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.pilot-space-stats { margin-bottom: .35rem; }
.pilot-space-stat { text-align: left; }
.pilot-space-stat .stat-icon { margin-bottom: .5rem; }
.pilot-progress-card, .pilot-operation-card { overflow: hidden; }
.pilot-rank-badge { width: 48px; height: 48px; object-fit: contain; }
.pilot-rank-icon, .pilot-operation-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 15px; color: var(--nta-green-dark); background: rgba(141, 200, 83, .16); font-size: 1.45rem; }
.pilot-progress-track { height: 12px; overflow: hidden; border-radius: 999px; background: #e7efdf; }
.pilot-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--nta-green), var(--nta-gold)); transition: width .7s ease; }
.pilot-mini-stats { border-top: 1px solid var(--nta-border); }
.pilot-mini-stats div { display: flex; flex-direction: column; gap: .18rem; padding-top: 1rem; color: var(--nta-muted); font-size: .73rem; text-transform: uppercase; letter-spacing: .04em; }
.pilot-mini-stats strong { color: var(--nta-green-deep); font-size: 1.18rem; letter-spacing: -.02em; }
.pilot-assignment-box { display: flex; flex-direction: column; align-items: flex-start; gap: .28rem; min-height: 138px; padding: 1rem; border-radius: 16px; background: #f7fbf3; border: 1px solid var(--nta-border); }
.pilot-assignment-box strong { color: var(--nta-green-deep); font-size: 1.15rem; }
.pilot-assignment-box span:not(.section-eyebrow), .pilot-assignment-box small { color: var(--nta-muted); }
.pilot-assignment-box.is-empty { min-height: auto; flex-direction: row; align-items: center; color: var(--nta-muted); }
.pilot-operation-footer { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--nta-border); color: var(--nta-muted); font-size: .8rem; }
.pilot-operation-footer a { color: var(--nta-green-dark); font-weight: 700; text-decoration: none; }
.pilot-integration-card { overflow: hidden; }
.pilot-integration-card summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; color: var(--nta-green-deep); font-weight: 800; cursor: pointer; list-style: none; }
.pilot-integration-card summary::-webkit-details-marker { display: none; }
.pilot-integration-card summary small { color: var(--nta-muted); font-weight: 600; }

@media (max-width: 767.98px) {
    .pilot-space-hero { align-items: flex-start; flex-direction: column; padding: 1.25rem; border-radius: 20px; }
    .pilot-space-identity { align-items: flex-start; gap: .85rem; }
    .pilot-space-avatar { width: 78px; height: 78px; flex-basis: 78px; border-width: 4px; }
    .pilot-space-avatar-placeholder { font-size: 2.2rem; }
    .pilot-space-heading h1 { font-size: 1.55rem; }
    .pilot-space-meta { gap: .35rem .75rem; font-size: .8rem; }
    .pilot-space-status-row { gap: .4rem; }
    .pilot-space-actions { width: 100%; justify-content: stretch; }
    .pilot-space-actions .btn { flex: 1; }
    .pilot-operation-footer { align-items: flex-start; flex-direction: column; }
    .pilot-mini-stats div { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
    .pilot-progress-track span { transition: none; }
}

/* Painel pessoal do piloto no cabeçalho */
.ncz-account-dropdown {
    margin-left: .35rem;
}

.navbar-nta .ncz-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 46px;
    padding: .28rem .68rem .28rem .36rem !important;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.navbar-nta .ncz-account-trigger:hover,
.navbar-nta .ncz-account-trigger:focus,
.navbar-nta .show > .ncz-account-trigger {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(141, 200, 83, .72);
}

.navbar-nta .ncz-account-trigger::before {
    display: none;
}

.ncz-account-avatar {
    display: inline-grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    color: var(--nta-green-deep);
    background: var(--nta-green);
    font-size: .95rem;
}

.ncz-account-label {
    display: flex;
    min-width: 92px;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.ncz-account-label strong {
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.ncz-account-label small {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .72);
    font-size: .64rem;
    font-weight: 600;
    white-space: nowrap;
}

.navbar-nta .ncz-account-menu {
    width: 286px;
    min-width: 286px;
    margin-top: .72rem;
    padding: .55rem;
    border-radius: 20px;
}

.ncz-account-menu-head {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    padding: .58rem .72rem .45rem;
}

.ncz-account-menu-head strong {
    color: var(--nta-text);
    font-size: .94rem;
}

.ncz-account-menu-head small {
    color: var(--nta-muted);
    font-size: .72rem;
}

.ncz-account-menu-label {
    padding: .5rem .72rem .2rem;
    color: var(--nta-muted);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.navbar-nta .ncz-account-menu .dropdown-item {
    min-height: 38px;
    padding: .5rem .72rem;
    border-radius: 11px;
    font-size: .86rem;
}

.navbar-nta .ncz-account-menu .dropdown-item i {
    width: 1.1rem;
    color: var(--nta-green-mid);
    text-align: center;
}

.navbar-nta .ncz-account-menu .ncz-account-admin {
    color: var(--nta-green-dark);
    background: rgba(141, 200, 83, .13);
}

.navbar-nta .ncz-account-menu .ncz-account-logout {
    color: #9b2c2c;
}

.navbar-nta .ncz-account-menu .ncz-account-logout i {
    color: #b23b3b;
}

@media (max-width: 991.98px) {
    .ncz-account-dropdown {
        margin-left: 0;
    }

    .navbar-nta .ncz-account-trigger {
        width: 100%;
        justify-content: flex-start;
        border-radius: 15px;
    }

    .ncz-account-label {
        flex: 1;
    }

    .navbar-nta .ncz-account-menu {
        width: 100%;
        min-width: 0;
        margin-top: .32rem;
        border-radius: 16px;
    }
}

/* Central de atalhos do Meu Espaço */
.pilot-quick-actions {
    border-color: rgba(141, 200, 83, .35);
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(244, 249, 239, .94));
}

.pilot-quick-actions-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: var(--nta-green-dark);
    background: rgba(141, 200, 83, .16);
    font-size: 1.2rem;
}

.pilot-quick-action {
    display: flex;
    min-height: 92px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    gap: .18rem;
    padding: .72rem;
    border: 1px solid var(--nta-border);
    border-radius: 15px;
    color: var(--nta-text);
    background: rgba(255, 255, 255, .84);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.pilot-quick-action:hover,
.pilot-quick-action:focus-visible {
    border-color: rgba(95, 168, 50, .66);
    color: var(--nta-green-dark);
    background: #fff;
    box-shadow: var(--nta-shadow-soft);
    transform: translateY(-2px);
}

.pilot-quick-action > i {
    margin-bottom: .22rem;
    color: var(--nta-green-mid);
    font-size: 1.15rem;
}

.pilot-quick-action strong {
    font-size: .78rem;
    line-height: 1.15;
}

.pilot-quick-action small {
    color: var(--nta-muted);
    font-size: .66rem;
}

@media (max-width: 575.98px) {
    .pilot-quick-actions {
        padding: 1rem !important;
    }

    .pilot-quick-action {
        min-height: 84px;
    }
}

/* Passagens: operações primeiro, ajuda contextual depois */
.pilot-tickets-page .page-toolbar {
    margin-bottom: 1.6rem;
}

.tickets-operations-section {
    padding: 1.2rem 0 .2rem;
}

.tickets-count-badge {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: .35rem .7rem;
    border: 1px solid rgba(95, 168, 50, .28);
    border-radius: 999px;
    color: var(--nta-green-dark);
    background: rgba(141, 200, 83, .14);
    font-size: .74rem;
    font-weight: 750;
    white-space: nowrap;
}

.ticket-destination-card {
    border-color: rgba(220, 232, 213, .95);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ticket-destination-card:hover {
    border-color: rgba(95, 168, 50, .54);
    box-shadow: var(--nta-shadow-soft);
    transform: translateY(-2px);
}

.ticket-destination-card .badge {
    border-radius: 999px;
    font-size: .68rem;
    letter-spacing: .01em;
}

.tickets-attention {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
    border: 1px solid rgba(242, 174, 10, .28);
    border-radius: 16px;
}

.tickets-attention h2 {
    color: #72500a;
    font-weight: 800;
}

.tickets-emergency-card {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
    border-color: rgba(95, 168, 50, .26);
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(244, 249, 239, .92));
}

@media (max-width: 575.98px) {
    .pilot-tickets-page .page-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .pilot-tickets-page .page-toolbar .text-end {
        text-align: left !important;
    }

    .tickets-count-badge {
        margin-top: .25rem;
    }
}

/* Botão dividido: identidade abre o Flight Deck; seta abre os atalhos */
.ncz-account-trigger-wrap {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    overflow: hidden;
}

.navbar-nta .ncz-account-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .28rem .58rem .28rem .36rem;
    color: #fff;
    text-decoration: none;
}

.navbar-nta .ncz-account-link:hover,
.navbar-nta .ncz-account-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.navbar-nta .ncz-account-toggle {
    display: inline-flex;
    width: 31px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .16);
    border-radius: 0;
    color: #fff !important;
    background: transparent;
}

.navbar-nta .ncz-account-toggle::before {
    display: none;
}

.navbar-nta .ncz-account-toggle:hover,
.navbar-nta .ncz-account-toggle:focus-visible,
.ncz-account-dropdown:hover .ncz-account-toggle {
    color: #fff !important;
    background: rgba(255, 255, 255, .12);
}

.ncz-account-dropdown:hover .ncz-account-toggle::after,
.ncz-account-dropdown.show .ncz-account-toggle::after {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .ncz-account-trigger-wrap {
        width: 100%;
        border-radius: 15px;
    }

    .navbar-nta .ncz-account-link {
        flex: 1;
    }

    .navbar-nta .ncz-account-toggle {
        width: 44px;
    }
}

.ncz-account-avatar-image {
    display: block;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .72);
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}
