/**
 * EazyGo — نوافذ خطوات الطلب (متناسقة مع صفحة الدفع)
 */
.eg-step-modal {
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.55) !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    overflow-y: auto !important;
}

.eg-step-modal.show {
    display: flex !important;
}

.eg-step-modal__box {
    width: min(400px, calc(100vw - 2rem)) !important;
    max-width: 400px !important;
    max-height: none !important;
    padding: 0 !important;
    margin: auto !important;
    border: none !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45) !important;
    background: #f8fafc !important;
    animation: egStepSlideUp 0.3s ease-out;
}

@keyframes egStepSlideUp {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.eg-step-modal__header {
    position: relative;
    padding: 1rem 3rem 1rem 1.15rem;
    color: #fff;
    overflow: hidden;
}

.eg-step-modal__header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 40%, rgba(56, 189, 248, 0.3), transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(167, 139, 250, 0.2), transparent 45%);
    pointer-events: none;
}

.eg-step-modal__header h3 {
    position: relative;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.eg-step-modal__header--success { background: linear-gradient(135deg, #065f46, #059669, #10b981); }
.eg-step-modal__header--teal { background: linear-gradient(135deg, #0e7490, #0891b2, #06b6d4); }
.eg-step-modal__header--sky { background: linear-gradient(135deg, #1e3a5f, #0369a1, #0ea5e9); }
.eg-step-modal__header--violet { background: linear-gradient(135deg, #5b21b6, #7c3aed, #a78bfa); }
.eg-step-modal__header--chat { background: linear-gradient(135deg, #1e3a5f, #4f46e5, #6366f1); }
.eg-step-modal__header--waiting { background: linear-gradient(135deg, #92400e, #d97706, #fbbf24); }
.eg-step-modal__header--info { background: linear-gradient(135deg, #0f172a, #334155, #475569); }

.eg-step-modal__close {
    position: absolute;
    top: 50%;
    left: 0.85rem;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.eg-step-modal__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.eg-step-modal__body {
    padding: 1.1rem 1.15rem 0.5rem;
    background: linear-gradient(180deg, #f1f5f9 0%, #fff 100%);
}

.eg-step-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.75rem 1rem 1.1rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.eg-step-modal__footer .eg-step-modal__btn,
.eg-step-modal__footer .btn {
    flex: 1 1 auto;
    min-width: 120px;
}

.eg-step-modal__hero {
    text-align: center;
    margin-bottom: 1rem;
}

.eg-step-modal__hero h4 {
    margin: 0.65rem 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.eg-step-modal__hero p {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.eg-step-modal__hero-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.eg-step-modal__hero-icon--success { background: linear-gradient(145deg, #10b981, #34d399); }
.eg-step-modal__hero-icon--teal { background: linear-gradient(145deg, #06b6d4, #22d3ee); }
.eg-step-modal__hero-icon--sky { background: linear-gradient(145deg, #0ea5e9, #38bdf8); }
.eg-step-modal__hero-icon--violet { background: linear-gradient(145deg, #8b5cf6, #a78bfa); }
.eg-step-modal__hero-icon--waiting { background: linear-gradient(145deg, #f59e0b, #fbbf24); }

.eg-step-modal__chip {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: #475569;
}

.eg-step-modal__chip span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.eg-step-modal__chip i {
    color: #0ea5e9;
    width: 1rem;
    text-align: center;
}

.eg-step-modal__list {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
}

.eg-step-modal__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    font-size: 0.86rem;
    color: #334155;
    border-bottom: 1px dashed #f1f5f9;
}

.eg-step-modal__list li:last-child {
    border-bottom: none;
}

.eg-step-modal__list li i {
    color: #10b981;
    font-size: 0.9rem;
}

.eg-step-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}

.eg-step-modal__btn--primary {
    background: linear-gradient(135deg, #0369a1, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.eg-step-modal__btn--primary:hover {
    transform: translateY(-1px);
}

.eg-step-modal__btn--ghost {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.eg-step-modal__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== نافذة شات الطلب — مضغوطة ومبهجة ===== */
.eg-step-modal--chat .eg-step-modal__box {
    width: min(340px, calc(100vw - 1.25rem)) !important;
    max-width: 340px !important;
    border-radius: 20px !important;
    box-shadow:
        0 20px 40px -12px rgba(79, 70, 229, 0.35),
        0 8px 16px -8px rgba(15, 23, 42, 0.2) !important;
}

.eg-step-modal--chat .eg-step-modal__header {
    padding: 0.75rem 2.75rem 0.75rem 1rem;
}

.eg-step-modal--chat .eg-step-modal__header h3 {
    font-size: 0.92rem;
}

.eg-step-modal--chat .eg-step-modal__header--chat {
    background: linear-gradient(120deg, #6366f1 0%, #a855f7 45%, #ec4899 100%);
}

.eg-step-modal--chat .eg-step-modal__body {
    padding: 0.75rem 0.85rem 0.35rem;
    background: linear-gradient(180deg, #faf5ff 0%, #f0f9ff 55%, #fff 100%);
}

.eg-step-modal--chat .eg-step-modal__footer {
    padding: 0.5rem 0.75rem 0.75rem;
    border-top: none;
    background: transparent;
}

.eg-step-modal--chat .eg-step-modal__footer .eg-step-modal__btn--ghost {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.78rem;
    border-radius: 10px;
}

.eg-order-chat {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.eg-order-chat__pill {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.eg-order-chat__pill-tag,
.eg-order-chat__pill-route {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #5b21b6;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(167, 139, 250, 0.35);
}

.eg-order-chat__pill-route {
    color: #0369a1;
    border-color: rgba(56, 189, 248, 0.35);
}

.eg-order-chat__peer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.eg-order-chat__peer--traveler .eg-order-chat__avatar {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.eg-order-chat__peer--customer .eg-order-chat__avatar {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.eg-order-chat__avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.eg-order-chat__peer-meta {
    min-width: 0;
    line-height: 1.25;
}

.eg-order-chat__peer-meta strong {
    display: block;
    font-size: 0.82rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eg-order-chat__role {
    display: block;
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
}

.eg-order-chat__online {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: #059669;
    margin-top: 1px;
}

.eg-order-chat__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: egChatPulse 2s ease-in-out infinite;
}

@keyframes egChatPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.92); }
}

.eg-order-chat__messages {
    height: 168px;
    overflow-y: auto;
    padding: 0.55rem;
    border-radius: 14px;
    background:
        radial-gradient(circle at 10% 10%, rgba(167, 139, 250, 0.12), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.1), transparent 40%),
        #fff;
    border: 1px solid #e2e8f0;
    scroll-behavior: smooth;
}

.eg-order-chat__messages::-webkit-scrollbar {
    width: 4px;
}

.eg-order-chat__messages::-webkit-scrollbar-thumb {
    background: #c4b5fd;
    border-radius: 4px;
}

.eg-order-chat__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
    padding: 0.5rem;
    color: #64748b;
}

.eg-order-chat__empty-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    margin-bottom: 0.45rem;
    box-shadow: 0 6px 14px rgba(129, 140, 248, 0.35);
}

.eg-order-chat__empty h4 {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    color: #334155;
    font-weight: 800;
}

.eg-order-chat__empty p {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.4;
}

.eg-order-chat__row {
    display: flex;
    margin-bottom: 0.45rem;
}

.eg-order-chat__row--own {
    justify-content: flex-end;
}

.eg-order-chat__row--peer {
    justify-content: flex-start;
}

.eg-order-chat__bubble {
    max-width: 88%;
    padding: 0.45rem 0.65rem;
    border-radius: 14px;
    font-size: 0.76rem;
    line-height: 1.45;
    word-break: break-word;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.eg-order-chat__bubble--own {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.eg-order-chat__bubble--peer {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.eg-order-chat__meta {
    margin-top: 0.2rem;
    font-size: 0.58rem;
    opacity: 0.78;
    line-height: 1.2;
}

.eg-order-chat__compose {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.eg-order-chat__input {
    flex: 1;
    min-width: 0;
    padding: 0.48rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.78rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.eg-order-chat__input:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.eg-order-chat__send {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.eg-order-chat__send:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.45);
}

/* شات مدمج — توافق قديم */
.eg-step-modal__chat-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.65rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.eg-step-modal__chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eg-step-modal__chat-online {
    display: block;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

.eg-step-modal__chat-online i {
    font-size: 0.45rem;
    margin-left: 4px;
}

.eg-step-modal__chat-messages {
    height: 200px;
    overflow-y: auto;
    padding: 0.75rem;
    margin-bottom: 0.65rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.eg-step-modal__chat-input-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.eg-step-modal__chat-input-row input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
}

.eg-step-modal__chat-input-row input:focus {
    outline: none;
    border-color: #818cf8;
}

.eg-step-modal__chat-send {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    cursor: pointer;
}

.eg-step-modal__code-box {
    margin: 0.75rem 0;
    padding: 0.85rem;
    border-radius: 12px;
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    text-align: center;
}

.eg-step-modal__code-box label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #5b21b6;
    font-size: 0.88rem;
}

.eg-step-modal__code-input {
    width: 100%;
    max-width: 180px;
    padding: 0.65rem;
    border: 2px solid #c4b5fd;
    border-radius: 12px;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-align: center;
    font-weight: 700;
}

.eg-step-modal__code-box small {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.78rem;
}

.eg-step-modal__footer .customer-chat-action,
.eg-step-modal__footer .btn-open-order-chat {
    flex: 1 1 100%;
}

.eg-step-modal .traveler-parcel-inspect-wrap {
    margin: 0.5rem 0;
    text-align: right;
    font-size: 0.85rem;
}

.eg-step-modal__amount {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #0369a1;
    margin: 0.5rem 0 0.75rem;
}

.eg-step-modal__amount small {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

/* ===================== Trip Details Modal ===================== */
.eg-step-modal--trip-details .eg-step-modal__box {
    width: min(420px, calc(100vw - 1.5rem)) !important;
    max-width: 420px !important;
}

.eg-step-modal--trip-details .eg-step-modal__body {
    padding: 0.85rem 0.95rem 0.6rem !important;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 60%, #fff 100%) !important;
}

.eg-trip-details {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    direction: rtl;
    text-align: right;
}

.eg-trip-details__route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    box-shadow: 0 4px 12px -6px rgba(14, 165, 233, 0.25);
}

.eg-trip-details__route-side {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.eg-trip-details__route-side--end {
    text-align: left;
    align-items: flex-start;
}

.eg-trip-details__route-label {
    font-size: 0.7rem;
    color: #0369a1;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.eg-trip-details__route-side strong {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
    word-break: break-word;
}

.eg-trip-details__airport {
    font-size: 0.7rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.2;
    word-break: break-word;
}

.eg-trip-details__hall {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
}

.eg-trip-details__route-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px -2px rgba(14, 165, 233, 0.5);
    flex-shrink: 0;
}

.eg-trip-details__chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
}

.eg-trip-details__chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem 0.6rem;
    transition: all 0.2s;
}

.eg-trip-details__chip:hover {
    transform: translateY(-1px);
    border-color: #93c5fd;
    box-shadow: 0 6px 14px -8px rgba(59, 130, 246, 0.4);
}

.eg-trip-details__chip > i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, #e0f2fe, #ddd6fe);
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.eg-trip-details__chip > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.eg-trip-details__chip span {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1;
}

.eg-trip-details__chip strong {
    font-size: 0.8rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 2px;
    word-break: break-word;
}

.eg-trip-details__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 0.7rem;
}

.eg-trip-details__row-label {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.eg-trip-details__row-label i {
    color: #6366f1;
}

.eg-trip-details__row-val {
    font-size: 0.78rem;
    color: #0f172a;
    font-weight: 700;
    text-align: left;
    word-break: break-word;
}

.eg-trip-details__status-pill {
    font-size: 0.7rem !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: 0;
    color: #fff;
}

.eg-trip-details .trip-status.status-available {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.eg-trip-details .trip-status.status-booked {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.eg-trip-details .trip-status.status-in_transit,
.eg-trip-details .trip-status.status-in-transit {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.eg-trip-details .trip-status.status-completed,
.eg-trip-details .trip-status.status-delivered {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.eg-trip-details .trip-status.status-rejected,
.eg-trip-details .trip-status.status-cancelled {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.eg-trip-details .trip-status.status-pending {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}

.eg-trip-details__orders {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.eg-trip-details__orders-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.eg-trip-details__order-tag {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fcd34d;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 0.7rem;
    font-weight: 700;
}

.eg-trip-details__order-empty {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
}

.eg-trip-details__flight-edit {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 0.6rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.eg-trip-details__flight-edit--missing {
    background: linear-gradient(135deg, #fef3c7, #fefce8);
    border-color: #fcd34d;
}

.eg-trip-details__flight-edit label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #065f46;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.eg-trip-details__flight-edit--missing label {
    color: #92400e;
}

.eg-trip-details__flight-row {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.eg-trip-details__flight-input {
    flex: 1;
    min-width: 0;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.eg-trip-details__flight-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.eg-trip-details__flight-save {
    border: none;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.eg-trip-details__flight-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -4px rgba(16, 185, 129, 0.5);
}

.eg-trip-details__flight-hint {
    margin: 0;
    font-size: 0.7rem;
    color: #92400e;
    font-weight: 600;
    line-height: 1.3;
}

.eg-trip-details__sysid {
    text-align: center;
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
    padding-top: 0.2rem;
}

.eg-trip-details__sysid span {
    color: #64748b;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

@media (max-width: 380px) {
    .eg-trip-details__chips {
        grid-template-columns: 1fr;
    }
    .eg-step-modal--trip-details .eg-step-modal__box {
        width: calc(100vw - 1rem) !important;
    }
}
