/* ============================================
   SKYLOG DESIGN SYSTEM
   Modern, sleek, sharp-edged styling
   ============================================ */

/* ---- Reset / Base ---- */
* { border-radius: 0 !important; }

/* ---- Stat Cards (all dashboards) ---- */
.stat-card {
    background: #fff;
    border: 1px solid var(--sky-border, #e8eaed);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color, #1a3a8a);
    transition: width 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15,31,74,0.1), 0 4px 12px rgba(15,31,74,0.06);
    border-color: #d1d5db;
}

.stat-card:hover::before {
    width: 6px;
}

.stat-card .stat-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-bg, #eff6ff);
    color: var(--accent-color, #1a3a8a);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-card .stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--sky-text, #1f2937);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--sky-text-muted, #5f6b7a);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* Accent variants */
.stat-card.accent-blue   { --accent-color: #1a3a8a; --accent-bg: #eff6ff; }
.stat-card.accent-teal   { --accent-color: #00d4aa; --accent-bg: #e6fcf5; }
.stat-card.accent-amber  { --accent-color: #ffa502; --accent-bg: #fffbeb; }
.stat-card.accent-coral  { --accent-color: #ff4757; --accent-bg: #fef2f2; }
.stat-card.accent-purple { --accent-color: #8b5cf6; --accent-bg: #f3f0ff; }
.stat-card.accent-slate  { --accent-color: #475569; --accent-bg: #f1f5f9; }

/* ---- Summary Cards (my_flights, periodic_summary) ---- */
.summary-card {
    background: #fff;
    border: 1px solid var(--sky-border, #e8eaed);
    border-top: 4px solid var(--top-color, #1a3a8a);
    text-align: center;
    padding: 1rem 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15,31,74,0.08);
}

.summary-card .summary-icon {
    font-size: 1.25rem;
    color: var(--top-color, #1a3a8a);
    margin-bottom: 0.5rem;
}

.summary-card .summary-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sky-text, #1f2937);
}

.summary-card .summary-label {
    font-size: 0.7rem;
    color: var(--sky-text-muted, #5f6b7a);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.summary-card.top-blue   { --top-color: #1a3a8a; }
.summary-card.top-teal   { --top-color: #00d4aa; }
.summary-card.top-amber  { --top-color: #ffa502; }
.summary-card.top-coral  { --top-color: #ff4757; }
.summary-card.top-purple { --top-color: #8b5cf6; }
.summary-card.top-slate  { --top-color: #475569; }

/* ---- Chart Cards ---- */
.chart-card {
    background: #fff;
    border: 1px solid var(--sky-border, #e8eaed);
    transition: box-shadow 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 8px 24px rgba(15,31,74,0.08);
}

.chart-card .chart-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--sky-border, #e8eaed);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--sky-text, #1f2937);
}

.chart-card .chart-header i {
    color: var(--sky-navy-light, #1a3a8a);
    margin-right: 0.5rem;
}

.chart-card .chart-body {
    padding: 1rem;
    height: 260px;
    position: relative;
}

/* ---- Alert Cards (admin dashboard) ---- */
.alert-card {
    background: #fff;
    border: 1px solid var(--sky-border, #e8eaed);
    border-left: 4px solid var(--alert-color, #ff4757);
    transition: all 0.3s ease;
}

.alert-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(15,31,74,0.08);
}

.alert-card.alert-danger  { --alert-color: #ff4757; }
.alert-card.alert-warning { --alert-color: #ffa502; }
.alert-card.alert-info    { --alert-color: #2e86de; }

/* ---- AG Grid Overrides ---- */
.ag-theme-alpine {
    --ag-font-family: 'Inter', sans-serif;
    --ag-font-size: 12px;
    --ag-header-background-color: #f1f5f9;
    --ag-header-foreground-color: #1f2937;
    --ag-header-cell-hover-background-color: #e2e8f0;
    --ag-row-hover-color: #f8fafc;
    --ag-selected-row-background-color: #eff6ff;
    --ag-border-color: #cbd5e1;
    --ag-row-border-color: #e2e8f0;
    --ag-cell-horizontal-padding: 6px;
    --ag-header-height: 34px;
    --ag-row-height: 28px;
}

/* Header cell borders */
.ag-theme-alpine .ag-header-cell,
.ag-theme-alpine .ag-header-group-cell {
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Force vertical dividers on ALL cells including last one */
.ag-theme-alpine .ag-cell {
    font-size: 0.78rem;
    color: #374151;
    line-height: 1.15;
    border-right: 1px solid #e2e8f0 !important;
}

.ag-theme-alpine .ag-header-cell {
    border-right: 1px solid #cbd5e1 !important;
}

/* Row bottom border */
.ag-theme-alpine .ag-row {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Hover indicator */
.ag-theme-alpine .ag-row:hover {
    border-left: 2px solid #1a3a8a !important;
}

/* Prevent action buttons from shrinking/clipping in AG Grid cells */
.ag-cell .btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* Ensure wrapper border matches */
.ag-theme-alpine .ag-root-wrapper {
    border: 1px solid #cbd5e1 !important;
}

/* ---- Profile / Avatar ---- */
.profile-picture {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid rgba(26,58,138,0.15);
    border-radius: 3px !important;
}

/* ---- Table (non-AG-Grid) ---- */
.table {
    font-size: 0.85rem;
}

.table thead th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #f8fafc;
    color: #5f6b7a;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
}

.table tbody td {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.table tbody tr:hover td {
    background: #f8fafc;
}

/* ---- List Groups ---- */
.list-group-item {
    border-color: var(--sky-border, #e8eaed);
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    transition: background 0.15s ease;
}

.list-group-item:hover {
    background: #f8fafc;
}

/* ---- Pagination ---- */
.pagination .page-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: #5f6b7a;
    border-color: var(--sky-border, #e8eaed);
    padding: 0.375rem 0.75rem;
}

.pagination .page-link:hover {
    background: #f1f5f9;
    color: #1a3a8a;
    border-color: #d1d5db;
}

.pagination .page-item.active .page-link {
    background: #1a3a8a;
    border-color: #1a3a8a;
    color: #fff;
}

/* ---- Misc ---- */
.text-muted { color: #5f6b7a !important; }

.bg-gaf {
    background: linear-gradient(135deg, #0f1f4a 0%, #1a3a8a 100%) !important;
}

.btn-gaf {
    background: linear-gradient(135deg, #0f1f4a 0%, #1a3a8a 100%);
    color: #fff;
    border: none;
    font-weight: 500;
}

.btn-gaf:hover {
    background: linear-gradient(135deg, #1a3a8a 0%, #2a4a8a 100%);
    color: #fff;
}

.text-gaf { color: #1a3a8a !important; }

.border-gaf { border-color: #1a3a8a !important; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ---- Print ---- */
@media print {
    .navbar, footer, .btn, .no-print { display: none !important; }
    .card { box-shadow: none; border: 1px solid #ccc; }
    body { background: #fff; }
}

/* ---- Auth Pages ---- */
.auth-shell {
    position: relative;
    min-height: calc(100vh - 56px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(0, 212, 170, 0.10), transparent),
        radial-gradient(ellipse 60% 80% at 90% 80%, rgba(26, 58, 138, 0.12), transparent),
        linear-gradient(145deg, #f0f4f8 0%, #f8fafc 40%, #eef2f7 100%);
}

.auth-shell__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-shell__backdrop::before,
.auth-shell__backdrop::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: authFloat 10s ease-in-out infinite;
}

.auth-shell__backdrop::before {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.35), transparent 70%);
    top: -8%;
    left: -6%;
    animation-delay: 0s;
}

.auth-shell__backdrop::after {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(26, 58, 138, 0.30), transparent 70%);
    bottom: -10%;
    right: -4%;
    animation-delay: -5s;
}

@keyframes authFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.04); }
    66% { transform: translate(-10px, 10px) scale(0.98); }
}

.auth-shell__container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 56px);
    padding: 2.5rem 1rem;
}

.auth-stage {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
    align-items: stretch;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(15, 31, 74, 0.12),
        0 4px 12px rgba(15, 31, 74, 0.06);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: authReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes authReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-stage--login {
    max-width: 1080px;
    margin: 0 auto;
}

.auth-stage--register {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr);
}

.auth-hero {
    position: relative;
    padding: 2.8rem 2.4rem;
    color: #fff;
    background:
        linear-gradient(165deg, #0f1f4a 0%, #152b5e 40%, #1a3a8a 100%);
    overflow: hidden;
}

.auth-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.18), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 217, 255, 0.12), transparent 45%);
    pointer-events: none;
}

.auth-hero::after {
    content: "";
    position: absolute;
    inset: auto -20% -22% auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.25), transparent 65%);
    filter: blur(2px);
    animation: authPulse 6s ease-in-out infinite;
}

@keyframes authPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.12); opacity: 1; }
}

.auth-hero__brand,
.auth-hero__content,
.auth-hero__stats {
    position: relative;
    z-index: 1;
}

.auth-hero__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.6rem;
    animation: authSlideRight 0.6s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-hero__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 1rem;
    font-size: 1.4rem;
    color: #0f1f4a;
    background: linear-gradient(135deg, #e0f7fa 0%, #00d4aa 100%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease;
}

.auth-hero__brand:hover .auth-hero__logo {
    transform: scale(1.08) rotate(-4deg);
}

.auth-hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(200, 220, 255, 0.7);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.auth-hero h1 {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 212, 170, 0.14);
    border: 1px solid rgba(0, 212, 170, 0.28);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00d4aa;
    margin-bottom: 1rem;
    animation: authSlideRight 0.6s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-hero__content {
    animation: authSlideRight 0.6s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
    text-align: center;
}

.auth-hero__content h2 {
    margin: 0 0 0.8rem;
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.01em;
}

.auth-hero__content p {
    margin: 0;
    max-width: 28rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(210, 225, 255, 0.78);
}

.auth-hero__stats {
    display: grid;
    gap: 0.85rem;
    margin-top: 2.2rem;
    animation: authSlideRight 0.6s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-hero__stat {
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.auth-hero__stat:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 170, 0.25);
    transform: translateX(4px);
}

.auth-hero__stat strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
}

.auth-hero__stat span {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(190, 210, 245, 0.72);
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.4rem 2.2rem;
    background: rgba(255, 255, 255, 0.82);
    animation: authSlideLeft 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes authSlideRight {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes authSlideLeft {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

.auth-panel--wide {
    padding: 2rem 2.2rem;
}

.auth-panel__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 1.6rem;
    width: 100%;
}

.auth-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.12) 0%, rgba(26, 58, 138, 0.08) 100%);
    color: #1a3a8a;
    font-size: 1.05rem;
    border: 1px solid rgba(0, 212, 170, 0.18);
}

.auth-panel__header h3 {
    margin: 0 0 0.15rem;
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f1f4a;
    letter-spacing: -0.01em;
}

.auth-panel__header p {
    margin: 0;
    color: #6b7c97;
    font-size: 0.88rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    width: 100%;
}

.auth-form--register {
    gap: 0.9rem;
}

.auth-grid {
    display: grid;
    gap: 0.9rem 1rem;
}

.auth-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-field label {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4a5d78;
}

.auth-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.auth-field__label-row label {
    margin-bottom: 0;
}

.auth-field__label-row a,
.auth-panel__footer a {
    color: #1a3a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.auth-field__label-row a:hover,
.auth-panel__footer a:hover {
    color: #00d4aa;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 1.1rem;
    transform: translateY(-50%);
    color: #8a9bb0;
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.2s ease;
    width: 1rem;
    text-align: center;
}

.auth-input-wrap:focus-within .auth-input-icon {
    color: #00d4aa;
}

.auth-input-toggle {
    position: absolute;
    top: 50%;
    right: 0.9rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8a9bb0;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 2;
}

.auth-input-toggle:hover {
    color: #1a3a8a;
}

.auth-input,
.auth-select {
    min-height: 3rem;
    border-radius: 0.85rem;
    border: 1.5px solid #dce3ec;
    background-color: #fff;
    color: #0f1f4a;
    box-shadow: inset 0 1px 2px rgba(15, 31, 74, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-input-wrap .auth-input {
    padding: 0.8rem 1rem 0.8rem 3.2rem;
}

.auth-input-wrap .auth-input--toggle {
    padding-right: 3rem;
}

.auth-select {
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 16px 12px;
}

.auth-input:focus,
.auth-select:focus {
    border-color: #00d4aa;
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.12), inset 0 1px 2px rgba(15, 31, 74, 0.02);
    outline: none;
}

.auth-input.is-invalid,
.auth-select.is-invalid {
    border-color: #e05260;
    background: #fff5f5;
}

.auth-input.is-invalid:focus,
.auth-select.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(224, 82, 96, 0.12);
}

.auth-help-text {
    margin-top: 0.3rem;
    font-size: 0.74rem;
    line-height: 1.4;
    color: #7a8ca0;
}

.auth-submit-btn {
    width: 100%;
    min-height: 3rem;
    margin-top: 0.25rem;
    border: 0;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #0f1f4a 0%, #1a3a8a 60%, #00a884 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 24px rgba(15, 31, 74, 0.22);
    transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.auth-submit-btn:hover,
.auth-submit-btn:focus {
    color: #fff;
    background-position: 100% 50%;
    box-shadow: 0 16px 32px rgba(15, 31, 74, 0.28), 0 0 20px rgba(0, 212, 170, 0.15);
    transform: translateY(-1px);
}

.auth-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(15, 31, 74, 0.2);
}

.auth-panel__footer {
    margin-top: 1.3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 227, 236, 0.7);
    width: 100%;
}

.auth-panel__footer p {
    margin: 0;
    color: #5e718a;
    text-align: center;
    font-size: 0.9rem;
}

.auth-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.06) 0%, rgba(26, 58, 138, 0.04) 100%);
    border: 1px solid rgba(0, 212, 170, 0.15);
    color: #3e5670;
    font-size: 0.82rem;
    line-height: 1.5;
    width: 100%;
}

.auth-note i {
    color: #00d4aa;
    margin-top: 0.1rem;
    font-size: 0.9rem;
}

.auth-alert-stack {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    width: 100%;
}

.auth-alert {
    margin-bottom: 0;
    border-radius: 0.85rem;
    border: 0;
    font-size: 0.88rem;
}

.approach-type-dropdown .approach-type-toggle {
    align-items: center;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.approach-type-dropdown .approach-type-toggle::after {
    flex: 0 0 auto;
    margin-left: 0.75rem;
}

.approach-type-dropdown .approach-type-menu {
    max-height: 14rem;
    overflow-y: auto;
}

.approach-type-dropdown .approach-type-option {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 0.25rem;
    margin: 0;
}

@media (max-width: 991.98px) {
    .auth-stage,
    .auth-stage--register {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        padding: 2.2rem 1.8rem;
    }

    .auth-panel,
    .auth-panel--wide {
        padding: 1.8rem 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .auth-shell__container {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .auth-stage,
    .auth-stage--register {
        border-radius: 20px;
    }

    .auth-hero {
        padding: 1.8rem 1.2rem;
    }

    .auth-panel,
    .auth-panel--wide {
        padding: 1.3rem 1rem;
    }

    .auth-grid--two {
        grid-template-columns: 1fr;
    }

    .auth-hero__brand {
        margin-bottom: 1.8rem;
    }

    .auth-hero h1 {
        font-size: 1.7rem;
    }

    .auth-hero__content h2 {
        font-size: 1.4rem;
    }
}

/* Highlight carry-over / previous-records rows in flight tables */
.carry-over-row,
.carry-over-row > td,
.ag-row.carry-over-row,
.ag-row.carry-over-row .ag-cell {
    background-color: #fff3cd !important;
}
.carry-over-row td:first-child,
.ag-row.carry-over-row .ag-cell:first-child {
    border-left: 4px solid #f59e0b;
}
