/* ============================================================
   FLEWLT - LAYOUT.CSS
   Global layout: Header, Footer, Sidebar, Body
   Font: DM Sans  |  Brand: Sky Blue #0057F5
   ============================================================ */

@import url("./base.css");


/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--Core-Pure-White, #FFF);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--Neutrals-Light-Gray, #F1F1F1);
    box-shadow: 0 1px 0 rgba(0,57,145,.06);
}

.header-inner {
    max-width: 1440px;
    margin: auto;
    padding: 0 clamp(24px, calc(20vw - 120px), 120px);
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img { width: 120px; height: 30px; aspect-ratio: 3.94;}

/* Logo text fallback */
.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--grad-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--sky-blue);
    letter-spacing: -.3px;
}

/* Desktop Nav - center */
.header-nav-wrap {
    display: flex;
    align-items: center;
    gap: 0;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    height: 74px;
    padding: 0 15px;
    color: var(--Neutrals-Panel-Gray, #626262);
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    transition: var(--t-fast);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.32px;
}

.nav-item-label {
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.nav-item:hover {
    background: var(--Neutrals-Cloud-Blue, #F1F7FE);
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.32px;
}

.nav-item:hover .nav-item-label {
    background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-item.active {
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.32px;
}

.nav-item.active .nav-item-label {
    background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Right actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 56px;
}

/* Get Pro button */
.btn-get-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    background: var(--grad-sky);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: var(--t-normal);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: -.1px;
}

.btn-get-pro:hover {
    background: var(--altitude-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,87,245,.36);
}

/* Figma 7764:304: authenticated Free-user navigation pill only. */
.btn-get-pro--upgrade {
    box-sizing: border-box;
    flex: 0 0 auto;
    justify-content: center;
    height: 42px;
    padding: 8px 24px;
    border-radius: 24px;
    background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
    color: var(--Core-Pure-White, #FFF);
    font-family: var(--font-family-body, "DM Sans");
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.28px;
    text-align: center;
}

.btn-get-pro--upgrade:hover {
    background: var(--Core-Altitude-Blue, #062F87);
    color: var(--Core-Pure-White, #FFF);
    opacity: 0.9;
    transform: none;
    box-shadow: 0 2px 12px 0 rgba(0, 90, 182, 0.08);
}

.btn-get-pro--upgrade:focus-visible {
    outline: 2px solid var(--Tints-Blue-80, #338DD8);
    outline-offset: 3px;
}

.btn-get-pro--upgrade:active {
    opacity: 1;
    box-shadow: none;
}

/* Mobile hamburger */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    font-size: 20px;
    color: var(--ink);
    cursor: pointer;
    transition: var(--t-fast);
}

.mobile-menu-toggle:hover {
    border-color: var(--sky-blue);
    color: var(--sky-blue);
}

/* Pro button states */
.btn-already-pro {
    background: linear-gradient(135deg, #065f46, #059669) !important;
    color: #fff !important;
    border-color: transparent !important;
 /* pointer-events: none; */
}

.mobile-already-pro {
    background: linear-gradient(135deg, #065f46, #059669) !important;
    color: #fff !important;
 /* pointer-events: none; */
}
/* ============================================================
   MOBILE SIDEBAR
   ============================================================ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: var(--Neutrals-Overlay, rgba(38, 38, 42, 0.40));
    opacity: 0;
    visibility: hidden;
    transition: var(--t-normal);
    z-index: 1100;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    z-index: 1200;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-sidebar.open { transform: translateX(0); }

body.mobile-nav-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

body.mobile-nav-open .mobile-sidebar {
    transform: translateX(0);
}

.sidebar-header {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 64px;
    padding: 16px 24px;
    overflow: hidden;
    background: var(--Core-Pure-White, #FFF);
    border-bottom: 1px solid var(--Neutrals-Light-Gray, #F1F1F1);
}

.sidebar-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: 102.381px;
    height: 26px;
}

.sidebar-logo img {
    display: block;
    width: 100%;
    height: 100%;
}

.sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sidebar-close img {
    display: block;
    width: 15px;
    height: 15px;
}

.mobile-sidebar-menu {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
    background: var(--Core-Pure-White, #FFF);
    box-shadow: 10px 12px 40px 4px rgba(0, 90, 182, 0.06);
}

.sidebar-nav {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
    padding: 0;
    overflow: visible;
}

.mobile-nav-item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px 32px;
    overflow: hidden;
    background: var(--Core-Pure-White, #FFF);
    border-bottom: 1px solid var(--Neutrals-Light-Gray, #F1F1F1);
    color: var(--Neutrals-Panel-Gray, #626262);
    font-family: var(--font-family-body, "DM Sans");
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    letter-spacing: 0.28px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--t-fast);
}

.mobile-nav-item-label {
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: var(--Neutrals-Cloud-Blue, #F1F7FE);
    font-weight: 600;
    line-height: 120%;
}

.mobile-nav-item:hover .mobile-nav-item-label,
.mobile-nav-item.active .mobile-nav-item-label {
    background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
.main-content {
    max-width: 1440px;
    margin: auto;
    padding: 0 clamp(24px, calc(20vw - 120px), 120px);
    background: #FAFCFE;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 74px - 176px);
    margin: 0;
    position: relative;
    overflow: visible;
    padding: 0;
    background: var(--Tints-Blue-2, #FAFCFE);
}

.right-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 400px;
    background-image: url('../icons/bg-map.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

.page-card {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background: var(--Core-Pure-White, #FFF);
    border-radius: 32px 32px 0 0;
    box-shadow: 10px 12px 40px 4px rgba(0, 90, 182, 0.06);
    border: none;
    padding: 32px 32px 56px;
}

.page-card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.primary-button.page-card-title-action {
    display: flex;
    height: 42px;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 21px;
    width: auto;
    max-width: 100%;
    text-decoration: none;
    white-space: nowrap;
}

.primary-button.page-card-title-action:hover,
.primary-button.page-card-title-action:focus:not(:active),
.primary-button.page-card-title-action:active,
.primary-button.page-card-title-action:hover:active,
.primary-button.page-card-title-action:focus:active,
.primary-button.page-card-title-action:hover:focus:active {
    border-radius: 21px;
}

.page-card-title {
    color: var(--Core-Cruise-Blue, #005AB6);
    font-family: var(--font-family-heading, "DM Sans");
    font-size: var(--font-size-xl, 24px);
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0.48px;
    margin-bottom: 4px;
}

.page-card-date-line {
    color: var(--Neutrals-Panel-Gray, #626262);
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.32px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.page-card-description {
    width: 100%;
    color: var(--Neutrals-Panel-Gray, #626262);
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.32px;
    margin-bottom: 16px;
}

.page-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 48px;
}

.page-card-tag {
    display: flex;
    box-sizing: border-box;
    height: 32px;
    padding: 6px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: none;
    border-radius: 24px;
    background: var(--Tints-Blue-10, #E5F1FA);
}

.page-card-tag__text {
    text-align: center;
    text-transform: uppercase;
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-xs, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    letter-spacing: 0.03px;
    background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-card-bg-map {
    position: absolute;
    top: 140px;
    left: 150px;
    width: 75%;
    height: 100%;
    background-image: url('../icons/bg-map.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -10;
}

.page--empty-state {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

.page--empty-state .page-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.page--empty-state .page-empty {
    flex: 1 1 auto;
}

.page-controls-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 16px;
    padding: 0 0 16px;
}

.page-controls-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.page-controls-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.page-view-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg);
    border-radius: 8px;
}

.page-filter-param-title {
    margin-bottom: 12px;
    color: var(--Neutrals-Panel-Gray, #626262);
    text-align: left;
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.32px;
}

.page-sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    cursor: pointer;
}

.page-sort-option-label {
    color: var(--ink);
    font-size: 15px;
    font-weight: 400;
}

.page-sort-option.selected .page-sort-option-label {
    font-weight: 600;
    background: var(--grad-sky);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.page-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-sort-option.selected .page-radio {
    border-color: var(--sky-blue);
}

.page-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sky-blue);
    opacity: 0;
    transition: var(--t-fast);
}

.page-sort-option.selected .page-radio-dot {
    opacity: 1;
}

.add-form-card,
.af-card,
.at-card {
    margin-top: -60px;
    padding: 42px 48px 72px;
}

.account-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    overflow: hidden;
}

.account-layout > .account-layout__mobile-toggle {
    display: none;
    flex: 0 0 100%;
    width: 100%;
}

.account-layout > .account-layout__sidebar {
    flex: 0 0 30%;
    width: 30%;
    min-width: 0;
    padding: 32px 32px 48px;
    border-right: 1px solid var(--Neutrals-Light-Gray, #F1F1F1);
    background: var(--Core-Pure-White, #FFF);
}

.account-layout > .account-layout__content {
    flex: 0 0 70%;
    width: 70%;
    min-width: 0;
    padding: 32px 32px 48px;
    background: var(--Core-Pure-White, #FFF);
}

.page-empty {
    position: relative;
    min-height: 549px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 56px 32px 72px;
    overflow: hidden;
}

.page-empty::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.76) 58%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.page-empty__art,
.page-empty__copy,
.page-empty h3,
.page-empty p,
.page-empty__action {
    position: relative;
    z-index: 1;
}

.page-empty__art {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 140px;
    margin-bottom: 32px;
}

.page-empty__copy {
    margin-top: 25px;
}

.page-empty__route {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 720px;
    max-width: none;
    transform: translateX(-50%);
}

.page-empty__icon {
    display: block;
    margin: 0 0 24px;
    color: var(--Neutrals-Light-Gray, #F1F1F1);
    font-size: 28px;
}

.page-empty h3 {
    margin-bottom: 8px;
    font-family: var(--font-family-heading, "DM Sans");
    font-size: var(--font-size-lg, 20px);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.4px;
    background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-empty p {
    color: var(--Neutrals-Panel-Gray, #626262);
    font-family: var(--font-family-body, "DM Sans");
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    letter-spacing: 0.28px;
}

.page-empty__action {
    margin-top: 32px;
}

.primary-button.page-empty__action {
    width: 158px;
    max-width: 100%;
}

@media (max-width: 767px) {
    .account-layout > .account-layout__mobile-toggle {
        display: block;
        padding: 16px 24px 0;
    }

    .account-layout > .account-layout__sidebar,
    .account-layout > .account-layout__content {
        flex: 0 0 100%;
        width: 100%;
    }

    .account-layout > .account-layout__sidebar:not(.is-open) {
        display: none;
    }
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    margin: 48px 0;
    padding: 0 8px;
    position: relative;
    z-index: 1;
}

.add-form-header,
.fe-top-bar,
.at-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    margin: 40px 0;
    padding: 0 8px;
    position: relative;
    z-index: 1;
}

.add-form-hero,
.af-hero,
.at-hero {
    height: 302px;
    background: var(--blue-10);
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--runway-gray);
    border-bottom: 1px solid var(--border);
    border-radius: 32px;
}

.add-form-hero {
    width: 100vw;
    height: 480px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
}

.add-form-hero-map,
.at-hero-map {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.add-form-hero i,
.af-hero i,
.at-hero i {
    font-size: 38px;
}

.add-form-hero span,
.af-hero span,
.at-hero span {
    font-size: 13px;
}

.add-form-hero-dots,
.af-hero-dots,
.at-hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.add-form-hero-dot,
.af-hero-dot,
.at-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--runway-gray);
}

.add-form-hero-dot.active,
.af-hero-dot.active,
.at-hero-dot.active {
    background: var(--sky-blue);
    width: 16px;
    border-radius: 3px;
}

.add-form-section {
    margin-bottom: 28px;
}

.add-form--step .add-form-section--step-end,
.add-form--step .add-form-field--step-end,
.add-form--step .add-form-fields--step-end .form-field {
    margin-bottom: 0;
}

.add-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.add-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.add-form-row-seat-class {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.add-form-section-title {
    color: var(--Neutrals-Panel-Gray, #626262);
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.32px;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

.add-form-step-label {
    display: inline-block;
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-lg, 20px);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.4px;
    background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.add-form-step-label-sub {
    color: var(--Gray, #8E8E93);
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.32px;
    margin-bottom: 48px;
    display: block;
}

.add-form-step-indicator {
    position: absolute;
    top: 42px;
    right: 48px;
    width: 52px;
    height: 52px;
    z-index: 10;
    pointer-events: none;
}

.add-form-step-indicator svg {
    width: 52px;
    height: 52px;
    transform: rotate(-90deg);
}

.add-form-step-indicator__track {
    fill: none;
    stroke: var(--Neutrals-Light-Gray, #F1F1F1);
    stroke-width: 3;
}

.add-form-step-indicator__progress {
    fill: none;
    stroke: url(#addFormStepIndicatorGradient);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.4s cubic-bezier(.4, 0, .2, 1);
}

.add-form-step-indicator__text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Neutrals-Placeholder, #8E8E93);
    font-family: var(--font-family-body, "DM Sans");
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    letter-spacing: 0.28px;
}

.add-form-step-block {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.add-form-step-block[data-step="1"],
.add-form-step-block[data-step="2"],
.add-form-step-block[data-step="3"] {
    padding-bottom: 56px;
    margin-bottom: 56px;
}

.add-form-step-block[data-step="3"] .add-form-step-label-sub,
.add-form-step-block[data-step="4"] .add-form-step-label-sub {
    margin-bottom: 56px;
}

.add-form-step-block[data-step="4"],
.add-form-step-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.add-form--express .add-form-step-block,
.add-form--step .add-form-step-block {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.add-form-step-divider {
    border-top: 1px solid var(--border);
    margin: 56px 0;
}

.add-form--step .add-form-step-divider + .add-form-actions {
    margin-top: 0;
    padding-top: 0;
}

.add-form-step-block.is-step-hidden {
    display: none;
}

.add-form-step-header {
    padding-right: 64px;
}

.page-header__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.page-header__heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    min-width: 0;
}

.page-header__title {
    display: inline-block;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 0;
    font-family: var(--font-family-heading, "DM Sans");
    font-size: var(--font-size-2xl, 32px);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.64px;
    background: var(--Core-Skyline-Gradient, linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-header__heading-row .page-header__title {
    margin-bottom: 0;
}

.page-header__title:last-child {
    margin-bottom: 0;
}

.page-header__subtitle {
    margin: 0;
    color: var(--Core-Jet-Black, #26262A);
    font-family: var(--font-family-body, "DM Sans");
    font-size: var(--font-size-sm, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.32px;
}

.page-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.page-header__actions > button,
.page-header__actions > a {
    width: 158px;
    text-decoration: none;
}

.page-header__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 55px;
    height: 32px;
    border: 0;
    padding: 0;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
}

.page-header__badge img {
    display: block;
    width: 45px;
    height: auto;
}

.page-header__mobile-upgrade {
    display: none;
}

.page-header__profile {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer.app-footer {
    width: 100%;
    height: 176px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    color: var(--Core-Pure-White, #FFF);
    background: var(
        --Core-Skyline-Gradient,
        linear-gradient(124deg, rgba(0, 113, 206, 0.80) -8.3%, #005AB6 43.6%, #062F87 97.5%)
    );
    font-family: var(--font-family-body, "DM Sans"), sans-serif;
}

.footer.app-footer::before {
    content: none;
}

.footer.app-footer::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: calc(50% - 167px);
    width: 713px;
    height: 190px;
    background: url("map-2.png") no-repeat 0 0 / 713px 190px;
    pointer-events: none;
}

.app-footer .footer-inner {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 48px));
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 48px 4px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 24px;
}

.app-footer .footer-inner::after {
    content: none;
}

.app-footer .footer-left {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: 80px;
    padding-bottom: 6px;
    box-sizing: border-box;
}

.app-footer .footer-logo {
    display: block;
    width: 127.972px;
    height: 32px;
    margin: 0;
    text-decoration: none;
}

.app-footer .footer-logo img {
    display: block;
    width: 100%;
    height: 100%;
}

.app-footer .footer-map-attribution {
    margin: 0;
    color: var(--Tints-Blue-2, #FAFCFE);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.12px;
    white-space: nowrap;
}

.app-footer .footer-map-attribution a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.app-footer .footer-map-attribution a:hover {
    color: var(--Core-Pure-White, #FFF);
}

.app-footer .footer-social-label {
    color: var(--Tints-Blue-2, #FAFCFE);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.28px;
    white-space: nowrap;
}

.app-footer .footer-right {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
    height: 24px;
    margin: 0;
    padding-right: 2px;
}

.app-footer .footer-social-label {
    color: var(--Core-Pure-White, #FFF);
    margin: 0;
}

.app-footer .footer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.app-footer .footer-social-btn {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--Core-Pure-White, #FFF);
    text-decoration: none;
    transition: opacity var(--t-fast);
}

.app-footer .footer-social-btn img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.app-footer .footer-social-btn:hover {
    color: var(--Core-Pure-White, #FFF);
    background: transparent;
    opacity: 0.8;
    transform: none;
}

.app-footer .footer-logo:focus-visible,
.app-footer .footer-map-attribution a:focus-visible,
.app-footer .footer-social-btn:focus-visible {
    outline: 2px solid var(--Core-Pure-White, #FFF);
    outline-offset: 4px;
    border-radius: 2px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .desktop-menu      { display: none; }
    .btn-get-pro       { display: none; }
    .mobile-menu-toggle { display: flex; }
    .page-header__heading-row.page-header__heading-row--mobile-upgrade {
        justify-content: space-between;
        width: 100%;
        gap: 16px;
        flex-wrap: nowrap;
    }
    .page-header__heading-row--mobile-upgrade .page-header__title {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .page-header__mobile-upgrade {
        display: inline-flex;
        flex: 0 0 auto;
        height: 29px;
        padding: 5px 16px;
        border-radius: 16px;
        font-size: 11px;
        letter-spacing: 0.22px;
    }
}

@media (max-width: 980px) {
    .add-form-hero {
        height: 320px;
    }

    .add-form-card,
    .af-card,
    .at-card {
        margin-top: -40px;
        padding: 36px 36px 64px;
    }

    .add-form-row-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .app-footer .footer-inner {
        padding: 24px 4px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 16px;
    }

    .app-footer .footer-left {
        padding-bottom: 0;
    }
}

@media (max-width: 800px) {
    .page-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin: 28px 0;
    }

    .page-header__actions {
        width: 100%;
        gap: 10px;
    }

    .page-header__actions > button,
    .page-header__actions > a {
        flex: 1 1 0;
        width: auto;
    }

    .page-header__copy--mobile-upgrade {
        width: 100%;
    }

}

@media (max-width: 700px) {
    .add-form-header,
    .fe-top-bar,
    .at-top-bar {
        margin: 24px 0;
        padding: 0 16px;
    }

    .add-form-header .af-back,
    .add-form-header .at-back {
        font-size: 20px;
    }

    .add-form-hero {
        height: 180px;
    }

    .add-form-card,
    .af-card,
    .at-card {
        margin-top: -12px;
        padding: 24px 16px 48px;
    }

    .add-form-row,
    .add-form-row-3,
    .add-form-row-seat-class {
        grid-template-columns: 1fr;
    }

    .add-form-step-indicator {
        top: 16px;
        right: 16px;
    }

    .add-form-step-label-sub,
    .add-form-step-block[data-step="3"] .add-form-step-label-sub,
    .add-form-step-block[data-step="4"] .add-form-step-label-sub {
        margin-bottom: 32px;
    }

    .add-form-step-divider {
        margin: 32px 0;
    }
}

@media (max-width: 600px) {
    .main-content  { padding: 0; }
    .page { min-height: calc(100vh - 58px - 242px); }
    .page-card {
        border-radius: 24px 24px 0 0;
        padding: 16px 16px 40px;
    }
    .page-controls-top {
        gap: 8px;
    }
    .account-layout {
        padding: 0;
    }
    .page-empty {
        min-height: 420px;
        padding: 48px 24px;
    }
    .page-empty__art {
        max-width: 320px;
        height: 112px;
        margin-bottom: 24px;
    }
    .page-empty__route {
        width: 520px;
    }
    .page-empty h3 {
        font-size: 18px;
    }
    .page-empty p {
        font-size: 13px;
    }
    .page-header {
        padding: 0 16px;
    }
    .page-header__title { font-size: 22px; }
    .page-header__heading-row {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .header-inner  { padding: 0 16px; }
    .footer.app-footer {
        height: 242px;
        font-size: 14px;
    }
    .footer.app-footer::after {
        right: -430px;
        left: auto;
        width: 908px;
        height: 242px;
        background-size: 908px 242px;
    }
    .app-footer .footer-inner {
        width: 100%;
        padding: 28px 16px 24px;
        justify-content: flex-start;
        gap: 24px;
    }
    .app-footer .footer-right {
        flex-wrap: nowrap;
        margin: 0;
    }
    .app-footer .footer-logo { margin: 0; }
    .app-footer .footer-social-label { margin: 0; }
}

.footer-logo img {
    width: 128px;
    height: auto;
    display: block;
}

.app-loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(250, 252, 254, 0.62);
    backdrop-filter: blur(2px);
}

.app-loader.active {
    display: flex;
}

.app-loader__spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #cce3f5;
    border-top-color: #005AB6;
    animation: app-loader-spin .8s linear infinite;
}

@keyframes app-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Shared Add/Edit Flight and Trip cards, section navigation, and Pro features. */
.add-form-page .add-form-layout {
    --add-form-scroll-offset: 99px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    margin: 32px 0 64px;
    padding: 0;
    font-family: var(--font-family-body);
}

.add-form-page .add-form-sidebar {
    position: sticky;
    top: var(--add-form-scroll-offset);
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.add-form-page .add-form-nav {
    display: grid;
    gap: 8px;
}

.add-form-page .add-form-nav-title {
    color: var(--Neutrals-Panel-Gray);
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: .24px;
    text-transform: uppercase;
}

.add-form-page .add-form-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--Neutrals-Panel-Gray);
    font-family: var(--font-family-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: .28px;
    text-align: left;
    cursor: pointer;
}

.add-form-page .add-form-nav-number {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .24px;
}

.add-form-page .add-form-nav-item:hover:not(:disabled),
.add-form-page .add-form-nav-item.is-active {
    background: var(--Core-Pure-White);
    color: var(--Core-Cruise-Blue);
}

.add-form-page .add-form-nav-item.is-active { font-weight: 600; }
.add-form-page .add-form-nav-item:disabled { opacity: .5; cursor: default; }
.add-form-page .add-form-nav-item:focus-visible {
    outline: 2px solid var(--Core-Cruise-Blue);
    outline-offset: 2px;
}

.add-form-page .add-form-pro-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: var(--Core-Altitude-Blue);
    color: var(--Core-Pure-White);
}

.add-form-page .add-form-pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px 3px 9px;
    border-radius: 6px;
    background: var(--tintsyellow-20);
    color: var(--Core-Jet-Black);
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
}

.add-form-page .add-form-pro-badge img { width: 13px; height: 13px; }
.add-form-page .add-form-pro-card h2 {
    margin: 0;
    color: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: .4px;
}
.add-form-page .add-form-pro-card p { margin: 0; font-size: 14px; line-height: 20px; letter-spacing: .28px; }
.add-form-page .add-form-pro-card .add-form-pro-link {
    width: 100%;
    min-height: 46px;
    padding: 12px;
    border: 0;
    border-radius: 10px;
    background: var(--tintsyellow-20);
    color: var(--Core-Jet-Black);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    -webkit-text-fill-color: currentColor;
    background-clip: border-box;
    text-decoration: none;
}
.add-form-page .add-form-pro-card .add-form-pro-link:hover { background: var(--tintsyellow-40); }

.add-form-page .add-form-pro-locked-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 126px;
    padding: 20px;
    border: 1px solid var(--tintsyellow-40);
    border-radius: 12px;
    background: var(--tintsyellow-10);
}

.add-form-page .add-form-pro-locked-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.add-form-page .add-form-pro-locked-copy .add-form-section-title {
    margin: 0;
    color: var(--Core-Jet-Black);
    line-height: 24px;
}

.add-form-page .add-form-pro-locked-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--Neutrals-Panel-Gray);
    font-family: var(--font-family-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: .28px;
    text-align: left;
    opacity: 1;
    cursor: not-allowed;
}

.add-form-page .add-form-pro-locked-action img { display: block; flex: 0 0 auto; }

.add-form-page .add-form-pro-locked-feature .btn-get-pro {
    display: inline-flex;
    height: 35.7px;
    padding: 6.8px 20.4px;
    border-radius: 20.4px;
    font-size: 11.9px;
    letter-spacing: .238px;
    white-space: nowrap;
}

.add-form-page .add-form-pro-locked-photos {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
}

.add-form-page .add-form-pro-locked-photos .add-form-section-title {
    margin: 0;
    color: var(--Core-Jet-Black);
    line-height: 24px;
}

.add-form-page .add-form-pro-locked-photo-preview {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 24px;
    border: 1px dashed var(--tintsyellow-40);
    border-radius: 10px;
    background: var(--Core-Pure-White);
    opacity: 1;
    cursor: not-allowed;
}

.add-form-page .add-form-pro-locked-photo-preview:hover { border-color: var(--tintsyellow-40); }

.add-form-page .add-form-pro-locked-photo-icon {
    display: flex;
    width: 56px;
    height: 56px;
    padding: 14px;
    border-radius: 14px;
    background: var(--Tints-Blue-10);
}

.add-form-page .add-form-pro-locked-photo-icon img { display: block; width: 28px; height: 28px; }

.add-form-page .add-form-pro-locked-photo-preview .add-form-photo-title {
    margin: 0;
    color: var(--Core-Jet-Black);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .32px;
}

.add-form-page .add-form-pro-locked-photo-preview .add-form-photo-sub {
    color: var(--Neutrals-Panel-Gray);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .28px;
}

@media (max-width: 600px) {
    .add-form-page .add-form-pro-locked-feature {
        gap: 16px;
        padding: 16px;
    }
}

@media (max-width: 360px) {
    .add-form-page .add-form-pro-locked-feature {
        gap: 12px;
        padding: 12px;
    }
    .add-form-page .add-form-pro-locked-action { gap: 6px; }
}

.add-form-page .add-form-main { position: relative; min-width: 0; }
.add-form-page .add-form-main > form { display: flex; flex-direction: column; gap: 24px; }
.add-form-page .add-form-section-card,
.add-form-page .add-form-actions-card {
    flex: 0 0 auto;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 32px;
    border: .6px solid var(--Tints-Blue-20);
    border-radius: 18px;
    scroll-margin-top: var(--add-form-scroll-offset);
}
.add-form-page .add-form-section-card { border: none; }
.add-form-page .add-form-section-card > .add-form-section:last-child { margin-bottom: 0; }
.add-form-page .add-form-section-card > .add-form-section-divider { margin: 24px 0; }
.add-form-page .add-form-section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-right: 0;
}
.add-form-page .add-form-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--Tints-Blue-10);
}
.add-form-page .add-form-section-icon img { display: block; width: 24px; height: 24px; }
.add-form-page .add-form-section-copy { flex: 1 1 auto; min-width: 0; }
.add-form-page .add-form-section-heading .add-form-step-label {
    display: block;
    width: fit-content;
    margin: 0 0 4px;
    background: var(--Core-Skyline-Gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: .48px;
}
.add-form-page .add-form-section-heading .add-form-step-label-sub {
    margin: 0;
    color: var(--Neutrals-Panel-Gray);
    line-height: 24px;
}
.add-form-page .add-form-section-number {
    color: var(--Tints-Blue-60);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}
.add-form-page .add-form-main .add-form-step-indicator { top: 32px; right: 32px; }
.add-form-page .add-form-main .add-form--step .add-form-section-heading { padding-right: 64px; }
.add-form-page .add-form-main .add-form--step .add-form-section-number { display: none; }
.add-form-page .add-form-actions-card .add-form-actions { margin: 0; padding: 0; }
.add-form-page .add-form-main .add-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.add-form-page .add-form-main .add-form-row-seat-class { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.add-form-page .add-form-main .add-form-row > * { min-width: 0; }

@media (max-width: 1100px) and (min-width: 981px) {
    .add-form-page .add-form-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 980px) {
    .add-form-page .add-form-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .add-form-page .add-form-sidebar { position: static; }
    .add-form-page .add-form-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .add-form-page .add-form-nav-title { grid-column: 1 / -1; }
    .add-form-page .add-form-nav-item { gap: 8px; padding: 12px; }
    .add-form-page .add-form-pro-card { display: none; }
}

@media (max-width: 700px) {
    .add-form-page .add-form-layout { --add-form-scroll-offset: 82px; margin: 24px 0 40px; }
    .add-form-page .add-form-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .add-form-page .add-form-section-card,
    .add-form-page .add-form-actions-card { padding: 24px 16px; border-radius: 18px; }
    .add-form-page .add-form-section-heading { align-items: flex-start; gap: 12px; }
    .add-form-page .add-form-section-heading .add-form-step-label { font-size: 20px; line-height: 25px; }
    .add-form-page .add-form-section-heading .add-form-step-label-sub { margin: 0; font-size: 14px; line-height: 20px; }
    .add-form-page .add-form-section-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
    .add-form-page .add-form-section-number { display: none; }
    .add-form-page .add-form-main .add-form-step-indicator { top: 24px; right: 16px; }
    .add-form-page .add-form-main .add-form-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    .add-form-page .add-form-layout { margin-left: 16px; margin-right: 16px; }
}

.add-form-page .add-form-section-card.is-step-hidden { display: none; }
