/* BlueNova Pilot Center - premium ops dashboard */

body.pilot-center {
    background: #060D1A;
    color: #E8EDF5;
    min-height: 100vh;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.pilot-header {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 0 #D4DCE8, 0 4px 24px rgba(6,13,26,.04);
}

.pilot-header__bar {
    height: 3px;
    background: linear-gradient(135deg, #1A6FE8 0%, #00CFF0 55%, #7C5CFC 100%);
}

.pilot-header__inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.pilot-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #060D1A;
    text-decoration: none;
    flex-shrink: 0;
}

.pilot-brand__logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.pilot-brand__tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #8E9BB0;
    line-height: 1.35;
}

.pilot-topnav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pilot-topnav::-webkit-scrollbar { display: none; }

.pilot-topnav a,
.pilot-topnav__link {
    font-size: 12px;
    font-weight: 500;
    color: #5C6B82;
    padding: 8px 11px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid transparent;
    transition: color .15s, background .15s, border-color .15s;
}

.pilot-topnav a:hover,
.pilot-topnav__link:hover { color: #1A6FE8; background: #EBF3FF; }
.pilot-topnav__home { font-weight: 600; color: #142033 !important; }
.pilot-topnav__active { color: #1A6FE8 !important; font-weight: 600; background: linear-gradient(135deg, #EBF3FF, #E0F9FF) !important; border-color: rgba(26, 111, 232, 0.2) !important; }
.pilot-topnav__dash { margin-left: 4px; border-color: rgba(26, 111, 232, 0.15); }

.pilot-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.pilot-user-chip {
    text-align: right;
    line-height: 1.3;
    padding-right: 8px;
    border-right: 1px solid rgba(255,255,255,.1);
    margin-right: 4px;
    padding-left: 12px;
}

.pilot-user-chip__name { display: block; font-size: 14px; font-weight: 700; color: #142033; }
.pilot-user-chip__cs { display: block; font-size: 12px; font-weight: 600; color: #1A6FE8; }

.pilot-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
}

.pilot-btn--primary {
    background: linear-gradient(135deg, #1A6FE8, #0090D4);
    color: #fff;
    box-shadow: 0 4px 20px rgba(26,111,232,.35);
}

.pilot-btn--glow {
    background: linear-gradient(135deg, #1A6FE8 0%, #00CFF0 55%, #0090D4 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(26,111,232,.4), 0 0 0 1px rgba(255,255,255,.1) inset;
}

.pilot-btn--glow:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,207,240,.35);
}

.pilot-btn--primary:hover { color: #fff; box-shadow: 0 4px 20px rgba(0,207,240,.3); transform: translateY(-1px); }

.pilot-btn--ghost {
    background: transparent;
    color: #5C6B82;
    border: 1px solid #D4DCE8;
}

.pilot-btn--ghost:hover { background: #fff; color: #142033; border-color: #1A6FE8; }

.pilot-btn--sm { padding: 7px 14px; font-size: 12px; border-radius: 9px; }

.pilot-btn--outline {
    background: #fff;
    color: #1A6FE8;
    border: 1.5px solid #D4DCE8;
}

.pilot-btn--outline:hover {
    color: #1A6FE8;
    border-color: #1A6FE8;
    background: #EBF3FF;
    transform: translateY(-1px);
}

.pilot-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.pilot-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #060D1A;
    margin: 5px 0;
    border-radius: 1px;
}

.pilot-layout {
    display: flex;
    width: 100%;
    margin: 0;
    min-height: calc(100vh - 75px - 80px);
}

.pilot-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #060D1A;
    border-right: 1px solid rgba(255,255,255,.08);
    padding: 0;
    position: sticky;
    top: 75px;
    height: calc(100vh - 75px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 30;
}

.pilot-sidebar__scroll {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.15) transparent;
}

.pilot-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    margin: 0 0 2px 10px;
    width: calc(100% - 10px);
    border-radius: 10px;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: background .15s, color .15s;
    box-sizing: border-box;
}

.pilot-sidebar__group--solo .pilot-sidebar__link {
    margin-left: 0;
    width: 100%;
}

.pilot-sidebar__link:hover { background: rgba(255,255,255,.07); color: #fff; }

.pilot-sidebar__link.active {
    background: rgba(26,111,232,.22);
    color: #00CFF0;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #00CFF0;
}

.pilot-sidebar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.pilot-sidebar__text {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.pilot-sidebar__stats {
    margin: 0;
    padding: 18px 16px 20px;
    background: rgba(255,255,255,.05);
    border-top: 1px solid rgba(255,255,255,.08);
    display: grid;
    gap: 12px;
    color: #fff;
    flex-shrink: 0;
}

.pilot-sidebar__stats div:not(.pilot-sidebar__stats-head) {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 28px;
}

.pilot-sidebar__stats small {
    font-size: 10px;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    line-height: 1.3;
}

.pilot-sidebar__stats strong {
    font-size: 15px;
    font-weight: 700;
    color: #00CFF0;
    text-align: right;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.pilot-main {
    flex: 1;
    padding: 32px 40px 48px;
    min-width: 0;
    width: 100%;
}

.pilot-page-header { margin-bottom: 28px; }

.pilot-page-header--bar {
    background: #fff;
    border: 1px solid #D4DCE8;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(6,13,26,.03);
}

.pilot-page-header h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 6px;
    color: #060D1A;
}

.pilot-page-header p { color: #5C6B82; font-size: 14px; }

.pilot-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #D4DCE8;
    box-shadow: 0 4px 24px rgba(6,13,26,.04);
    margin-bottom: 20px;
    overflow: hidden;
}

.pilot-card__header {
    padding: 20px 28px;
    border-bottom: 1px solid #EEF2F8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}

.pilot-card__header h2 { font-size: 17px; font-weight: 700; color: #142033; margin: 0; }
.pilot-card__header a { font-size: 14px; font-weight: 600; color: #1A6FE8; }
.pilot-card__body { padding: 28px; }

.pilot-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.pilot-stat-card {
    background: #fff;
    border: 1px solid #D4DCE8;
    border-radius: 18px;
    padding: 26px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    min-height: 168px;
    display: flex;
    flex-direction: column;
}

.pilot-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(6,13,26,.08);
}

.pilot-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1A6FE8, #00CFF0);
    opacity: 0;
    transition: opacity .2s;
}

.pilot-stat-card:hover::before { opacity: 1; }

.pilot-stat-card__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #8E9BB0;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 12px;
}

.pilot-stat-card__value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #060D1A;
    line-height: 1;
    letter-spacing: -.02em;
}

.pilot-stat-card__value--sm { font-size: 26px; }
.pilot-stat-card__value--md { font-size: 20px; }

.pilot-stat-card__meta {
    display: block;
    font-size: 13px;
    color: #8E9BB0;
    margin-top: auto;
    padding-top: 12px;
}

.pilot-stat-card__meta a { color: #1A6FE8; font-weight: 600; }

.pilot-table-wrap { overflow-x: auto; }

.pilot-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.pilot-table th,
.pilot-table td {
    padding: 14px 24px;
    text-align: left;
    border-bottom: 1px solid #EEF2F8;
    vertical-align: middle;
    line-height: 1.45;
}

.pilot-table th {
    background: #F8FAFC;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8E9BB0;
    white-space: nowrap;
}

.pilot-table td.num,
.pilot-table th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pilot-table td.actions,
.pilot-table th.actions {
    text-align: right;
    white-space: nowrap;
}

.pilot-table tr:hover td { background: #FAFBFD; }

.pilot-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.pilot-badge--accepted { background: #D1FAE5; color: #065F46; }
.pilot-badge--pending { background: #FEF3C7; color: #92400E; }
.pilot-badge--rejected { background: #FEE2E2; color: #991B1B; }
.pilot-badge--active { background: #DBEAFE; color: #1E40AF; }

.pilot-form .form-group { margin-bottom: 16px; }
.pilot-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #142033; }

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #D4DCE8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}

.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus {
    outline: none;
    border-color: #1A6FE8;
    box-shadow: 0 0 0 3px rgba(26,111,232,.12);
}

.pilot-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pilot-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #D4DCE8;
    border-radius: 14px;
}

.pilot-filter-bar select,
.pilot-filter-bar input {
    padding: 11px 14px;
    border: 1.5px solid #D4DCE8;
    border-radius: 12px;
    font-size: 13px;
    min-width: 140px;
    background: #FAFBFD;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}

.pilot-filter-bar select:focus,
.pilot-filter-bar input:focus {
    outline: none;
    border-color: #1A6FE8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,111,232,.1);
}

/* ═══ Auth shell (login / register / rules) - layout in pilot-auth.css ═══ */
.pilot-header__auth-link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
}

.pilot-header__auth-link:hover { color: #00CFF0; }

.pilot-btn--ghost-light {
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.06);
}

.pilot-btn--ghost-light:hover {
    color: #fff;
    border-color: rgba(0,207,240,.5);
    background: rgba(0,207,240,.12);
}

/* Rules page */
.pilot-rules-page { width: 100%; max-width: none; }
.pilot-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.pilot-rule-card {
    background: #fff;
    border: 1px solid #D4DCE8;
    border-radius: 16px;
    padding: 22px;
    transition: transform .2s, box-shadow .2s;
}
.pilot-rule-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(6,13,26,.06);
}
.pilot-rule-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.pilot-rule-card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EBF3FF, #E0F9FF);
    display: grid;
    place-items: center;
    font-size: 20px;
}
.pilot-rule-card__head small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #1A6FE8;
    letter-spacing: .08em;
}
.pilot-rule-card__head h3 { font-size: 15px; font-weight: 700; color: #060D1A; }
.pilot-rule-card ul {
    list-style: none;
    font-size: 13px;
    color: #5C6B82;
    line-height: 1.65;
}
.pilot-rule-card li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}
.pilot-rule-card li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #00CFF0;
    font-weight: 700;
}

.pilot-rule-expand {
    background: #fff;
    border: 1px solid #D4DCE8;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #5C6B82;
    line-height: 1.65;
}
.pilot-rule-expand summary {
    font-weight: 700;
    color: #142033;
    cursor: pointer;
    list-style: none;
}
.pilot-rule-expand summary::-webkit-details-marker { display: none; }
.pilot-rule-expand p { margin-top: 12px; }

.pilot-rules-accept { max-width: 100%; }

.pilot-captcha {
    margin-bottom: 20px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
}

.pilot-captcha label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.pilot-captcha__row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pilot-captcha__question {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(6, 13, 26, .55);
    border: 1px solid rgba(0, 207, 240, .25);
    border-radius: 12px;
    min-height: 48px;
}

.pilot-captcha__label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pilot-captcha__question strong {
    font-size: 22px;
    font-weight: 800;
    color: #00CFF0;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}

.pilot-captcha__input {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    color: #142033;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.pilot-captcha__input:focus {
    outline: none;
    border-color: #1A6FE8;
    box-shadow: 0 0 0 3px rgba(26, 111, 232, .25);
}

.pilot-captcha__hint {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.5;
}

.pilot-captcha-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Sidebar groups */
.pilot-sidebar__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 22px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.pilot-sidebar__logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    background: transparent;
}

.pilot-sidebar__brand-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .4);
}

.pilot-sidebar__group { margin-bottom: 12px; }

.pilot-sidebar__group-btn {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    margin: 0 0 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .85);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    box-sizing: border-box;
}

.pilot-sidebar__group-btn .pilot-sidebar__text {
    flex: 1;
}

.pilot-sidebar__group-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(0, 207, 240, .35);
}

.pilot-sidebar__group-btn.is-active,
.pilot-sidebar__group.is-active .pilot-sidebar__group-btn {
    color: #00CFF0;
    background: rgba(26, 111, 232, .2);
    border-color: rgba(0, 207, 240, .4);
    box-shadow: inset 3px 0 0 #00CFF0;
}

.pilot-sidebar__group.is-active .pilot-sidebar__label,
.pilot-sidebar__label.is-active {
    color: #00CFF0;
}

.pilot-sidebar__label {
    display: block;
    padding: 14px 22px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.38);
}

.pilot-sidebar__stats-head {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.45);
    margin-bottom: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Hide duplicate top nav when sidebar is visible */
@media (min-width: 961px) {
    body.pilot-has-sidebar .pilot-topnav { display: none; }
}

.pilot-map {
    height: 480px;
    border-radius: 16px;
    background: #060D1A;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.7);
    position: relative;
    overflow: hidden;
    border: 1px solid #D4DCE8;
}

.pilot-map__placeholder { text-align: center; z-index: 2; }

.pilot-map__grid {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(26,111,232,.35) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0,207,240,.2) 0%, transparent 40%),
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.pilot-map__dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00CFF0;
    border-radius: 50%;
    box-shadow: 0 0 16px #00CFF0;
    animation: pilotPulse 2s infinite;
}

@keyframes pilotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: .6; }
}

.pilot-quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pilot-quick-links a {
    padding: 16px 18px;
    background: #F8FAFC;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #142033;
    border: 1px solid #EEF2F8;
    transition: all .15s;
}

.pilot-quick-links a:hover {
    border-color: #1A6FE8;
    background: #EBF3FF;
    color: #1A6FE8;
    transform: translateY(-1px);
}

.pilot-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pilot-shop-item {
    border: 1px solid #D4DCE8;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

.pilot-shop-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(6,13,26,.08);
}

.pilot-shop-item__icon { font-size: 36px; margin-bottom: 12px; }
.pilot-shop-item h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pilot-shop-item p { font-size: 12px; color: #5C6B82; margin-bottom: 12px; }
.pilot-shop-item .price { font-weight: 800; color: #1A6FE8; margin-bottom: 14px; font-size: 18px; }

.pilot-award-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.pilot-award-item {
    border: 1px solid #D4DCE8;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: transform .2s;
}

.pilot-award-item.earned {
    border-color: #00CFF0;
    background: linear-gradient(135deg, #F0FDFF, #EBF3FF);
}

.pilot-award-item__icon { font-size: 32px; margin-bottom: 8px; }

.pilot-footer {
    background: #060D1A;
    color: rgba(255,255,255,.55);
    padding: 24px 0;
    margin-top: auto;
}

.pilot-footer__inner { width: 100%; max-width: none; margin: 0 auto; padding: 0 40px; }
.pilot-footer__disclaimer { font-size: 11px; line-height: 1.7; margin-bottom: 12px; }
.pilot-footer__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.pilot-footer__networks { opacity: .8; }

.pilot-status-banner {
    padding: 16px 22px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
}

.pilot-status-banner--pending { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.pilot-status-banner--active { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }

.pilot-finance-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.pilot-finance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 96px;
    padding: 20px;
    background: linear-gradient(135deg, #060D1A, #122240);
    border-radius: 14px;
    text-align: center;
    color: #fff;
}

.pilot-finance-item span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    line-height: 1.3;
}

.pilot-finance-item strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #00CFF0;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 960px) {
    .pilot-sidebar {
        position: fixed;
        left: -320px;
        top: 75px;
        width: 300px;
        z-index: 150;
        transition: left .3s;
        box-shadow: 0 16px 48px rgba(6,13,26,.2);
        height: calc(100vh - 75px);
    }
    .pilot-sidebar.open { left: 0; }
    .pilot-menu-toggle { display: block; }
    .pilot-topnav { display: none; }
    .pilot-stats-row { grid-template-columns: repeat(2, 1fr); }
    .pilot-form-grid-2 { grid-template-columns: 1fr; }
    .pilot-shop-grid { grid-template-columns: 1fr; }
    .pilot-finance-summary { grid-template-columns: 1fr; }
    .pilot-rules-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .pilot-main { padding: 20px 16px; }
    .pilot-stats-row { grid-template-columns: 1fr; }
}

.pilot-dash-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 200px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.pilot-dash-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6,13,26,.88), rgba(18,34,64,.82)),
        url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1200&q=80') center/cover;
}

.pilot-dash-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(6,13,26,.92) 42%, rgba(6,13,26,.35) 100%);
}

.pilot-dash-hero__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    pointer-events: none;
}

.pilot-dash-hero__glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0,207,240,.22) 0%, transparent 68%);
    pointer-events: none;
}

.pilot-dash-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 40px;
    flex-wrap: wrap;
}

.pilot-dash-hero__main { flex: 1; min-width: 240px; }

.pilot-dash-hero__greet {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #00CFF0;
    margin-bottom: 10px;
}

.pilot-dash-hero__text h1 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.025em;
    margin: 0 0 12px;
    line-height: 1.2;
}

.pilot-dash-hero__text p {
    font-size: 15px;
    color: rgba(255,255,255,.68);
    margin: 0;
    line-height: 1.55;
}

.pilot-dash-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(26,111,232,.35);
    border: 1px solid rgba(0,207,240,.3);
    color: #00CFF0;
    font-weight: 700;
    font-size: 13px;
    margin-right: 8px;
}

.pilot-dash-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.pilot-dash-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    line-height: 1.3;
}

.pilot-dash-chip--rank {
    color: #00CFF0;
    background: rgba(26, 111, 232, .28);
    border-color: rgba(0, 207, 240, .35);
    font-weight: 700;
}

.pilot-dash-chip--cs {
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.pilot-dash-chip--active {
    color: #6EE7B7;
    background: rgba(13, 159, 110, .18);
    border-color: rgba(13, 159, 110, .35);
}

.pilot-dash-chip--pending {
    color: #FCD34D;
    background: rgba(245, 158, 11, .14);
    border-color: rgba(245, 158, 11, .3);
    max-width: 100%;
}

.pilot-dash-hero__progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pilot-dash-hero__progress-note {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    text-align: center;
    max-width: 140px;
    line-height: 1.45;
}

.pilot-dash-hero__progress-note strong {
    color: #00CFF0;
    font-weight: 700;
}

.pilot-dash-hero__ring {
    position: relative;
    width: 132px;
    height: 132px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 24px rgba(0, 207, 240, .25));
}

.pilot-dash-hero__ring svg { width: 100%; height: 100%; }

.pilot-dash-hero__ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.pilot-dash-hero__ring-label strong { font-size: 24px; font-weight: 800; line-height: 1; }
.pilot-dash-hero__ring-label small { font-size: 10px; color: rgba(255,255,255,.55); margin-top: 6px; text-align: center; max-width: 80px; }

.pilot-stat-card__icon {
    font-size: 28px;
    margin-bottom: 10px;
    opacity: .9;
}

.pilot-stat-card--blue::before { background: linear-gradient(90deg, #1A6FE8, #0090D4) !important; opacity: 1; }
.pilot-stat-card--cyan::before { background: linear-gradient(90deg, #00CFF0, #1A6FE8) !important; opacity: 1; }
.pilot-stat-card--purple::before { background: linear-gradient(90deg, #7C5CFC, #1A6FE8) !important; opacity: 1; }
.pilot-stat-card--green::before { background: linear-gradient(90deg, #0D9F6E, #00CFF0) !important; opacity: 1; }

.pilot-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pilot-action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 24px;
    background: linear-gradient(145deg, #F8FAFC, #fff);
    border: 1px solid #EEF2F8;
    border-radius: 16px;
    text-decoration: none;
    color: #142033;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}

.pilot-action-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1A6FE8, #00CFF0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}

.pilot-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(6,13,26,.08);
    border-color: #1A6FE8;
    color: #142033;
}

.pilot-action-card:hover::before { transform: scaleX(1); }

.pilot-action-card__icon { font-size: 30px; margin-bottom: 6px; }
.pilot-action-card strong { font-size: 15px; font-weight: 700; }
.pilot-action-card small { font-size: 13px; color: #8E9BB0; }

.pilot-empty {
    text-align: center;
    padding: 40px 20px;
}

.pilot-empty span { font-size: 40px; display: block; margin-bottom: 12px; }
.pilot-empty p { color: #5C6B82; margin-bottom: 16px; }

@media (max-width: 960px) {
    .pilot-action-grid { grid-template-columns: repeat(2, 1fr); }
    .pilot-dash-hero__content { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .pilot-action-grid { grid-template-columns: 1fr; }
}

/* ═══ Page hero (inner pages) ═══ */
.pilot-page-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 118px;
}

.pilot-page-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6,13,26,.94), rgba(18,34,64,.9)),
        url('https://images.unsplash.com/photo-1540962351504-03099e0a754b?w=1200&q=80') center/cover;
}

.pilot-page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,13,26,.96) 35%, rgba(6,13,26,.55) 100%);
}

.pilot-page-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    flex-wrap: wrap;
}

.pilot-page-hero__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #00CFF0;
    margin-bottom: 8px;
}

.pilot-page-hero__text h1 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.025em;
    margin: 0 0 8px;
    line-height: 1.2;
}

.pilot-page-hero__text p {
    font-size: 15px;
    color: rgba(255,255,255,.65);
    max-width: 560px;
    margin: 0;
    line-height: 1.55;
}

.pilot-page-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pilot-filter-bar--modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px 16px;
    align-items: end;
    margin-bottom: 24px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #D4DCE8;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(6,13,26,.04);
}

.pilot-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pilot-filter-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #8E9BB0;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0;
    line-height: 1.3;
}

.pilot-filter-field select,
.pilot-filter-field input {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
}

.pilot-filter-bar--modern .pilot-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: flex-end;
    align-self: end;
    min-height: calc(13px + 6px + 44px);
    padding-bottom: 0;
}

.pilot-list {
    list-style: none;
    font-size: 14px;
    color: #5C6B82;
    line-height: 1.75;
}

.pilot-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.pilot-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00CFF0;
    font-weight: 700;
}

.pilot-news-card .pilot-card__header h2 a {
    color: #060D1A;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: color .15s;
}

.pilot-news-card .pilot-card__header h2 a:hover { color: #1A6FE8; }

.pilot-news-card__date {
    display: block;
    font-size: 12px;
    color: #8E9BB0;
    margin-top: 4px;
}

.pilot-news-card .pilot-card__body p {
    color: #5C6B82;
    line-height: 1.65;
    margin-bottom: 12px;
}

.pilot-news-card .pilot-card__body > a {
    font-size: 13px;
    font-weight: 700;
    color: #1A6FE8;
}

.pilot-card--flat .pilot-card__body { padding: 0; }

.pilot-card--flat .pilot-table th,
.pilot-card--flat .pilot-table td {
    padding-left: 24px;
    padding-right: 24px;
}

.pilot-fleet-type {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pilot-fleet-type__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EBF3FF, #E0F9FF);
    display: grid;
    place-items: center;
    font-size: 20px;
}

@media (max-width: 960px) {
    .pilot-page-hero__content { padding: 24px 20px; }
    .pilot-filter-bar--modern { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .pilot-filter-bar--modern { grid-template-columns: 1fr; }
}

.pilot-metar {
    display: block;
    padding: 18px 20px;
    background: #060D1A;
    color: #00CFF0;
    border-radius: 14px;
    font-size: 14px;
    word-break: break-all;
    font-family: ui-monospace, monospace;
    line-height: 1.6;
}

.pilot-metar--sm {
    margin-top: 6px;
    padding: 12px 14px;
    font-size: 12px;
    color: rgba(255,255,255,.75);
}

.pilot-metar-note {
    margin-top: 12px;
    font-size: 12px;
    color: #8E9BB0;
}

.pilot-back-link {
    margin-top: 8px;
}

.pilot-back-link a {
    font-size: 13px;
    font-weight: 600;
    color: #1A6FE8;
    text-decoration: none;
}

.pilot-back-link a:hover { color: #00CFF0; }

.pilot-article-body {
    line-height: 1.8;
    color: #5C6B82;
    font-size: 15px;
}

.pilot-form--modern .pilot-field textarea {
    min-height: 140px;
    resize: vertical;
}

.pilot-field--readonly {
    background: #F0F3F8 !important;
    color: #5C6B82 !important;
    cursor: not-allowed;
}


.pilot-auth-signup-btn {
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

.pilot-auth-signup-btn:hover {
    border-color: rgba(0, 207, 240, 0.45) !important;
    background: rgba(0, 207, 240, 0.1) !important;
    color: #fff !important;
}

/* Auth rules page - see pilot-auth.css */

.pilot-rules-page--full {
    width: 100%;
    max-width: none;
}

body.pilot-center .alert .container {
    max-width: none;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

body.pilot-auth-layout .alert .container {
    max-width: none;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.pilot-footer .container.pilot-footer__inner {
    max-width: none;
    width: 100%;
}

.pilot-rules-notice {
    padding: 14px 18px;
    background: rgba(26, 111, 232, .12);
    border: 1px solid rgba(26, 111, 232, .25);
    border-radius: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 24px;
    line-height: 1.55;
}

.pilot-rules-notice a { color: #00CFF0; font-weight: 600; }

/* legacy rules doc - regulations page only */
.pilot-rules-doc:not(.pilot-auth-rules__doc) {
    max-height: 420px;
    overflow-y: auto;
    padding: 20px 22px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    margin-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.2) transparent;
}

.pilot-rules-doc__section { margin-bottom: 24px; }
.pilot-rules-doc__section:last-child { margin-bottom: 0; }

.pilot-rules-doc__section h2 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -.01em;
}

.pilot-rules-doc__list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.pilot-rules-doc__list li {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .72);
    padding-left: 0;
    display: flex;
    gap: 10px;
}

.pilot-rules-doc__num {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    color: #00CFF0;
    min-width: 32px;
}

.pilot-rules-agree-text {
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.6;
    margin-bottom: 16px;
}

@media (max-width: 960px) {
    .pilot-rules-doc:not(.pilot-auth-rules__doc) { max-height: none; }
}

/* ═══ Dark ops theme (all Pilot Center pages) ═══ */
body.pilot-center {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(26,111,232,.08), transparent 42%),
        radial-gradient(ellipse at 0% 100%, rgba(0,207,240,.05), transparent 38%),
        #060D1A;
}

body.pilot-center .pilot-header {
    background: rgba(6, 13, 26, .94);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}

body.pilot-center .pilot-brand__tag {
    color: rgba(255, 255, 255, .42);
}

body.pilot-center .pilot-topnav a {
    color: rgba(255, 255, 255, .55);
}

body.pilot-center .pilot-topnav a:hover {
    color: #00CFF0;
    background: rgba(255, 255, 255, .06);
}

body.pilot-center .pilot-topnav__home {
    color: #fff !important;
}

body.pilot-center .pilot-topnav__active {
    color: #00CFF0 !important;
    background: rgba(26, 111, 232, .22) !important;
}

body.pilot-center .pilot-user-chip__name {
    color: #fff;
}

body.pilot-center .pilot-user-chip__cs {
    color: #00CFF0;
}

body.pilot-center .pilot-user-chip {
    border-right-color: rgba(255, 255, 255, .12);
}

body.pilot-center .pilot-btn--ghost {
    color: rgba(255, 255, 255, .72);
    border-color: rgba(255, 255, 255, .14);
    background: transparent;
}

body.pilot-center .pilot-btn--ghost:hover {
    color: #fff;
    border-color: rgba(0, 207, 240, .45);
    background: rgba(255, 255, 255, .06);
}

body.pilot-center .pilot-menu-toggle span {
    background: #fff;
}

body.pilot-center .pilot-layout {
    align-items: stretch;
}

body.pilot-center .pilot-sidebar {
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

body.pilot-center .pilot-sidebar__stats {
    margin: 0;
    padding: 20px 22px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
    border-radius: 0;
}

body.pilot-center .pilot-sidebar__stats div:not(.pilot-sidebar__stats-head) {
    gap: 16px;
}

body.pilot-center .pilot-main {
    padding: 32px 40px 48px;
}

body.pilot-center .pilot-card__header {
    padding: 20px 28px;
    min-height: 64px;
    border-bottom-color: rgba(255, 255, 255, .06);
}

body.pilot-center .pilot-card__header h2 {
    color: #fff;
    font-size: 17px;
}

body.pilot-center .pilot-stat-card {
    background: #0B1628;
    border-color: rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 26px 28px;
}

body.pilot-center .pilot-card {
    background: #0B1628;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}

body.pilot-center .pilot-card__header a {
    color: #00CFF0;
    font-size: 14px;
}

body.pilot-center .pilot-stat-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    border-color: rgba(0, 207, 240, .2);
}

body.pilot-center .pilot-stat-card__label {
    color: rgba(255, 255, 255, .4);
}

body.pilot-center .pilot-stat-card__value {
    color: #fff;
}

body.pilot-center .pilot-stat-card__meta {
    color: rgba(255, 255, 255, .45);
    margin-top: auto;
    padding-top: 8px;
}

body.pilot-center .pilot-stat-card__meta a {
    color: #00CFF0;
}

body.pilot-center .pilot-table th {
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .4);
    border-bottom-color: rgba(255, 255, 255, .06);
}

body.pilot-center .pilot-table td {
    border-bottom-color: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .78);
    vertical-align: middle;
}

body.pilot-center .pilot-table td strong {
    color: #fff;
}

body.pilot-center .pilot-table tr:hover td {
    background: rgba(255, 255, 255, .03);
}

body.pilot-center .pilot-filter-bar,
body.pilot-center .pilot-filter-bar--modern {
    background: #0B1628;
    border-color: rgba(255, 255, 255, .08);
}

body.pilot-center .pilot-filter-bar select,
body.pilot-center .pilot-filter-bar input,
body.pilot-center .pilot-filter-bar--modern select,
body.pilot-center .pilot-filter-bar--modern input {
    background-color: #fff;
    border-color: rgba(255, 255, 255, .18);
    color: #142033;
}

body.pilot-center .pilot-filter-bar select,
body.pilot-center .pilot-filter-bar--modern select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235C6B82' d='M1 1.5 6 6.5 11 1.5' stroke='%235C6B82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

body.pilot-center .pilot-filter-bar select:focus,
body.pilot-center .pilot-filter-bar--modern select:focus {
    border-color: #1A6FE8;
    box-shadow: 0 0 0 3px rgba(26, 111, 232, .2);
    color: #142033;
    background-color: #fff;
}

body.pilot-center .pilot-filter-field label {
    color: rgba(255, 255, 255, .4);
}

body.pilot-center .pilot-btn--outline {
    background: transparent;
    color: #00CFF0;
    border-color: rgba(255, 255, 255, .14);
}

body.pilot-center .pilot-btn--outline:hover {
    background: rgba(26, 111, 232, .15);
    border-color: rgba(0, 207, 240, .4);
}

body.pilot-center .pilot-action-card {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .08);
    color: #fff;
}

body.pilot-center .pilot-action-card small {
    color: rgba(255, 255, 255, .45);
}

body.pilot-center .pilot-action-card:hover {
    background: rgba(26, 111, 232, .12);
    border-color: rgba(0, 207, 240, .35);
    color: #fff;
}

body.pilot-center .pilot-status-banner--active {
    background: rgba(13, 159, 110, .15);
    color: #6EE7B7;
    border-color: rgba(13, 159, 110, .3);
}

body.pilot-center .pilot-status-banner--pending {
    background: rgba(245, 158, 11, .12);
    color: #FCD34D;
    border-color: rgba(245, 158, 11, .25);
}

body.pilot-center .pilot-empty p {
    color: rgba(255, 255, 255, .5);
}

body.pilot-center .pilot-list {
    color: rgba(255, 255, 255, .6);
}

body.pilot-center .pilot-fleet-type__icon {
    background: rgba(26, 111, 232, .2);
}

body.pilot-center .pilot-news-card .pilot-card__header h2 a {
    color: #fff;
}

body.pilot-center .pilot-news-card .pilot-card__body p {
    color: rgba(255, 255, 255, .55);
}

body.pilot-center .pilot-shop-item,
body.pilot-center .pilot-award-item {
    background: #0B1628;
    border-color: rgba(255, 255, 255, .08);
    color: #fff;
}

body.pilot-center .pilot-shop-item p {
    color: rgba(255, 255, 255, .5);
}

body.pilot-center .pilot-award-item.earned {
    background: rgba(0, 207, 240, .08);
    border-color: rgba(0, 207, 240, .3);
}

body.pilot-center:not(.pilot-auth-layout) .pilot-form label,
body.pilot-center:not(.pilot-auth-layout) .pilot-field label {
    color: rgba(255, 255, 255, .5);
}

body.pilot-center:not(.pilot-auth-layout) .pilot-form input,
body.pilot-center:not(.pilot-auth-layout) .pilot-form select,
body.pilot-center:not(.pilot-auth-layout) .pilot-form textarea,
body.pilot-center:not(.pilot-auth-layout) .pilot-field input,
body.pilot-center:not(.pilot-auth-layout) .pilot-field select,
body.pilot-center:not(.pilot-auth-layout) .pilot-field textarea {
    background-color: #fff;
    border-color: rgba(255, 255, 255, .18);
    color: #142033;
}

body.pilot-center:not(.pilot-auth-layout) .pilot-form select,
body.pilot-center:not(.pilot-auth-layout) .pilot-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235C6B82' d='M1 1.5 6 6.5 11 1.5' stroke='%235C6B82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

body.pilot-center:not(.pilot-auth-layout) .pilot-form select:focus,
body.pilot-center:not(.pilot-auth-layout) .pilot-field select:focus {
    color: #142033;
    background-color: #fff;
}

body.pilot-center .pilot-article-body {
    color: rgba(255, 255, 255, .65);
}

body.pilot-center .pilot-back-link a {
    color: #00CFF0;
}

body.pilot-center .pilot-metar-note {
    color: rgba(255, 255, 255, .4);
}

body.pilot-center .alert {
    border-radius: 12px;
}

/* ═══ Pilot Center layout polish v2 ═══ */
.pilot-content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.pilot-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .42);
}

.pilot-breadcrumb a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    transition: color .15s;
}

.pilot-breadcrumb a:hover { color: #00CFF0; }

.pilot-breadcrumb__sep { opacity: .35; }

.pilot-breadcrumb__section { color: rgba(0, 207, 240, .75); }

.pilot-breadcrumb__current { color: rgba(255, 255, 255, .88); }

.pilot-section { margin-bottom: 28px; }

.pilot-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pilot-card__header-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.pilot-card__header-main h2 { margin: 0; }

.pilot-card__meta {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .45);
}

body.pilot-center .pilot-card__meta { color: rgba(255, 255, 255, .45); }

.pilot-card__header-action { flex-shrink: 0; }

.pilot-data-panel {
    padding: 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.pilot-data-panel:first-child { border-top: none; }

.pilot-data-panel__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    margin: 0 0 16px;
}

.pilot-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px 24px;
    margin: 0;
}

.pilot-data-grid__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
}

.pilot-data-grid dt {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin: 0;
    line-height: 1.3;
}

.pilot-data-grid dd {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    word-break: break-word;
}

.pilot-kpi-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.pilot-kpi {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-height: 72px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.pilot-kpi small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin: 0;
    line-height: 1.3;
}

.pilot-kpi strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #00CFF0;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

body.pilot-center .pilot-table th,
body.pilot-center .pilot-table td {
    padding: 14px 24px;
    vertical-align: middle;
}

body.pilot-center .pilot-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, .015);
}

.pilot-table--summary td:last-child,
.pilot-table--summary th:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pilot-table--summary td:first-child {
    color: rgba(255, 255, 255, .65);
}

body.pilot-center .pilot-card__header h2 {
    margin: 0;
}

.pilot-page-hero__badge { display: none; }

.pilot-news-grid {
    display: grid;
    gap: 16px;
}

.pilot-shop-grid {
    gap: 16px;
}

.pilot-award-grid {
    gap: 16px;
}

.pilot-form--narrow { max-width: 560px; }

.pilot-filter-bar--compact {
    max-width: 420px;
    grid-template-columns: 1fr;
}

.pilot-metar-block { margin-bottom: 16px; }

.pilot-metar-block strong {
    display: block;
    margin-bottom: 6px;
    color: #00CFF0;
    font-size: 13px;
}

@media (max-width: 560px) {
    .pilot-data-grid { grid-template-columns: 1fr; }
    .pilot-kpi-strip { grid-template-columns: 1fr 1fr; }
}

/* Readable native select dropdowns (Pilot Center) */
body.pilot-center select {
    color-scheme: light;
}

body.pilot-center select option,
body.pilot-center select optgroup {
    background-color: #fff;
    color: #142033;
}

body.pilot-center select option:checked,
body.pilot-center select option:hover {
    background-color: #EBF3FF;
    color: #142033;
}

/* ═══ Dashboard v3 ═══ */
.pilot-dash {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pilot-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pilot-dash-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 148px;
    padding: 22px 24px;
    border-radius: 20px;
    background: #0B1628;
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.pilot-dash-stat::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 20px 0 0 20px;
}

.pilot-dash-stat::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: .12;
    pointer-events: none;
}

.pilot-dash-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 207, 240, .22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.pilot-dash-stat--hours::before { background: linear-gradient(180deg, #1A6FE8, #0090D4); }
.pilot-dash-stat--hours::after { background: #1A6FE8; }
.pilot-dash-stat--flights::before { background: linear-gradient(180deg, #00CFF0, #1A6FE8); }
.pilot-dash-stat--flights::after { background: #00CFF0; }
.pilot-dash-stat--balance::before { background: linear-gradient(180deg, #7C5CFC, #1A6FE8); }
.pilot-dash-stat--balance::after { background: #7C5CFC; }
.pilot-dash-stat--rank::before { background: linear-gradient(180deg, #0D9F6E, #00CFF0); }
.pilot-dash-stat--rank::after { background: #0D9F6E; }

.pilot-dash-stat__icon {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 26px;
    opacity: .35;
    line-height: 1;
}

.pilot-dash-stat__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
    line-height: 1.3;
}

.pilot-dash-stat__value {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.pilot-dash-stat__value--sm { font-size: 26px; }
.pilot-dash-stat__value--md { font-size: 22px; }

.pilot-dash-stat__meta {
    margin-top: auto;
    padding-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.4;
}

.pilot-dash-stat__meta a {
    color: #00CFF0;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
}

.pilot-dash-stat__meta a:hover { color: #fff; }

.pilot-dash-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: start;
}

.pilot-dash-panel .pilot-card {
    margin-bottom: 0;
}

.pilot-card__body--compact {
    padding: 12px 16px 16px;
}

.pilot-dash-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pilot-dash-action {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: background .15s, border-color .15s, transform .15s;
}

.pilot-dash-action:hover {
    background: rgba(26, 111, 232, .14);
    border-color: rgba(0, 207, 240, .28);
    transform: translateX(3px);
    color: #fff;
}

.pilot-dash-action__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
    background: rgba(255, 255, 255, .06);
}

.pilot-dash-action__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pilot-dash-action__text strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.pilot-dash-action__text small {
    font-size: 12px;
    color: rgba(255, 255, 255, .42);
    line-height: 1.35;
}

.pilot-dash-action__arrow {
    font-size: 16px;
    font-weight: 700;
    color: rgba(0, 207, 240, .55);
    transition: color .15s, transform .15s;
}

.pilot-dash-action:hover .pilot-dash-action__arrow {
    color: #00CFF0;
    transform: translateX(2px);
}

.pilot-route {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.pilot-route span {
    color: rgba(255, 255, 255, .35);
    font-size: 12px;
}

.pilot-empty--dash {
    padding: 56px 24px;
}

.pilot-empty--dash span {
    font-size: 48px;
    margin-bottom: 16px;
}

@media (max-width: 1100px) {
    .pilot-dash-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .pilot-dash-stats { grid-template-columns: repeat(2, 1fr); }
    .pilot-dash-hero__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }
    .pilot-dash-hero__progress {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
        gap: 20px;
    }
    .pilot-dash-hero__progress-note {
        text-align: left;
        max-width: none;
    }
}

@media (max-width: 560px) {
    .pilot-dash-stats { grid-template-columns: 1fr; }
    .pilot-dash-stat__value { font-size: 28px; }
}

body.pilot-center select option:disabled {
    color: #8E9BB0;
    background-color: #F4F6FA;
}
