﻿body {
    font-family: "DM Sans", sans-serif;
    background: #0f1e35;
}

.headline {
    font-family: "Playfair Display", serif;
}

.nav-scrolled {
    background: rgba(15, 30, 53, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(4, 9, 19, .28);
}

.flight-card {
    background: linear-gradient(135deg, rgba(0, 214, 143, .16), rgba(15, 30, 53, .18));
    border: 1px solid rgba(0, 214, 143, .24);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.flight-route {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.flight-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    margin-top: 6px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.flight-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.flight-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.flight-verdict {
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, .96);
    margin-top: 6px;
    line-height: 1.35;
}

.flight-support {
    font-size: 11px;
    color: rgba(255, 255, 255, .48);
    margin-top: 2px;
    line-height: 1.45;
}

.flight-kicker {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, .78);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.3;
}

.flight-date-line {
    font-size: 12px;
    color: rgba(255, 255, 255, .52);
    margin-top: 2px;
    line-height: 1.4;
}

.flight-times-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.flight-time-cell {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    padding: 6px 8px;
}

.flight-time-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
}

.flight-time-value {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
}

.flight-time-empty {
    color: rgba(255, 255, 255, .38);
    font-weight: 500;
}

.flight-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}

.flight-status-neutral {
    background: rgba(154, 165, 180, .16);
    border-color: rgba(154, 165, 180, .24);
    color: rgba(255, 255, 255, .82);
}

.flight-status-verified {
    background: rgba(0, 214, 143, .14);
    border-color: rgba(0, 214, 143, .3);
    color: #7af0c0;
}

.flight-status-delayed {
    background: rgba(245, 158, 11, .14);
    border-color: rgba(245, 158, 11, .3);
    color: #fbbf24;
}

.flight-status-cancelled {
    background: rgba(239, 68, 68, .16);
    border-color: rgba(239, 68, 68, .28);
    color: #fda4af;
}

.route-correction-banner {
    background: rgba(0, 214, 143, .1);
    border: 1px solid rgba(0, 214, 143, .3);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: #00d68f;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.dismiss-btn {
    background: none;
    border: none;
    color: rgba(0, 214, 143, .6);
    cursor: pointer;
    margin-left: auto;
    font-size: 14px;
    padding: 0;
}

.wizard-note {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .82);
}

.wizard-note strong {
    font-weight: 700;
    color: #fff;
}

.wizard-note-info {
    background: rgba(96, 165, 250, .08);
    border-color: rgba(96, 165, 250, .2);
    color: rgba(219, 234, 254, .9);
}

.wizard-note-warning {
    background: rgba(245, 158, 11, .08);
    border-color: rgba(245, 158, 11, .22);
    color: rgba(254, 243, 199, .92);
}

.wizard-note-success {
    background: rgba(16, 185, 129, .08);
    border-color: rgba(16, 185, 129, .2);
    color: rgba(209, 250, 229, .9);
}

.wizard-note-danger {
    background: rgba(244, 63, 94, .1);
    border-color: rgba(244, 63, 94, .24);
    color: rgba(255, 228, 230, .92);
}

.option-card.preselected {
    border-color: #00d68f;
    background: #f0fdf9;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.modal-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.modal-message {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-sub {
    font-size: 13px;
    color: #9aa5b4;
    margin-bottom: 24px;
}

.modal-confirm {
    width: 100%;
    background: #0f1e35;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}

.modal-cancel {
    width: 100%;
    background: transparent;
    color: #6b7a8d;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
}

.recap-warning {
    font-size: 12px;
    color: #d97706;
    background: rgba(245, 158, 11, .08);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 4px;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.stepper-bar {
    flex: 1;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.stepper-fill {
    height: 100%;
    background: #00d68f;
    border-radius: 2px;
    transition: width .3s ease;
}

.stepper-label {
    font-size: 12px;
    color: #9aa5b4;
    white-space: nowrap;
}

.option-card {
    width: 100%;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .15s ease;
    text-align: left;
    margin-bottom: 10px;
    min-height: 56px;
}

.option-card:hover,
.option-card.selected {
    border-color: #00d68f;
    background: #f0fdf9;
    transform: translateX(4px);
}

.option-card-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.option-icon {
    font-size: 24px;
    min-width: 32px;
}

.option-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f1e35;
    margin-bottom: 2px;
}

.option-subtitle {
    font-size: 12px;
    color: #6b7a8d;
}

.option-arrow {
    color: #9aa5b4;
    font-size: 18px;
    transition: transform .15s;
}

.option-card:hover .option-arrow {
    transform: translateX(4px);
    color: #00d68f;
}

.text-input {
    width: 100%;
    border: 1px solid rgba(15, 30, 53, .12);
    border-radius: 14px;
    background: #fff;
    color: #0f1e35;
    padding: 14px 16px;
    outline: none;
}

.text-input:focus {
    border-color: #00d68f;
    box-shadow: 0 0 0 4px rgba(0, 214, 143, .18);
}

.field-error {
    margin-top: 8px;
    font-size: 13px;
    color: #fda4af;
}

.spinner {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    border: 4px solid rgba(255, 255, 255, .14);
    border-top-color: #00d68f;
    animation: spin .85s linear infinite;
}

.autocomplete-wrapper {
    position: relative;
}

.airport-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1a2f4a;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.airport-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background .15s;
}

.airport-option:hover {
    background: rgba(255, 255, 255, .05);
}

.airport-iata {
    font-weight: 700;
    color: #00d68f;
    min-width: 36px;
    font-size: 14px;
}

.airport-info {
    font-size: 14px;
    color: rgba(255, 255, 255, .82);
}

.airport-country {
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
    margin-left: 6px;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.back-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 0;
    transition: color .15s;
}

.back-btn:hover {
    color: white;
}

.missing-warning {
    background: #fff8e6;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
}

.missing-field-inline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.missing-field-inline:last-child {
    border-bottom: none;
}

.missing-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.missing-field-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.inconsistency-block {
    border: 1px solid #f59e0b;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    margin-top: 16px;
}

.inconsistency-header {
    background: #f59e0b;
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    letter-spacing: .5px;
}

.inconsistency-body {
    background: #fffbeb;
    padding: 16px;
}

.inconsistency-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inconsistency-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.api-says {
    background: rgba(59, 130, 246, .06);
    border: 1px solid rgba(59, 130, 246, .15);
    border-radius: 8px;
    padding: 10px 12px;
}

.user-says {
    background: rgba(239, 68, 68, .06);
    border: 1px solid rgba(239, 68, 68, .15);
    border-radius: 8px;
    padding: 10px 12px;
}

.inconsistency-icon {
    font-size: 16px;
    min-width: 20px;
    margin-top: 2px;
    color: transparent;
}

.api-says .inconsistency-icon::before {
    content: 'ðŸ“¡';
    color: initial;
}

.user-says .inconsistency-icon::before {
    content: 'ðŸ‘¤';
    color: initial;
}

.inconsistency-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9aa5b4;
    margin-bottom: 2px;
}

.api-says .inconsistency-label {
    color: #3b82f6;
}

.user-says .inconsistency-label {
    color: #ef4444;
}

.inconsistency-value {
    display: block;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

.inconsistency-divider {
    display: none;
}

.inconsistency-footer {
    background: #fef3c7;
    padding: 10px 16px;
    font-size: 12px;
    color: #92400e;
    border-top: 1px solid #fde68a;
}

.missing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    font-size: 14px;
    color: #374151;
}

.missing-item:last-child {
    border-bottom: none;
}

.missing-fix-btn {
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.missing-fix-btn:hover {
    background: #d97706;
}

.shake {
    animation: shake .3s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
