.mytrip-page,
.mytrip-search-wrap,
.mytrip-itinerary-page {
    background: #f8f9ff;
    color: #0b1c30;
    padding: 56px 0 72px;
}

.mytrip-search-wrap {
    min-height: 62vh;
    display: flex;
    align-items: center;
}

.mytrip-search-panel {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 18px 45px rgba(11, 28, 48, 0.08);
}

.mytrip-search-panel h1,
.mytrip-heading h1,
.mytrip-paper h1 {
    margin: 0;
    color: #0b1c30;
    font-weight: 800;
    letter-spacing: 0;
}

.mytrip-search-panel h1 {
    font-size: 34px;
}

.mytrip-kicker {
    color: #0891b2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mytrip-muted {
    color: #5f6f82;
}

.mytrip-alert {
    border-radius: 8px;
    margin: 22px 0;
}

.mytrip-search-form {
    margin-top: 26px;
}

.mytrip-search-form .form-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #56657a;
}

.mytrip-search-form .form-control {
    border-radius: 8px;
    border-color: #d1ddea;
    min-height: 54px;
}

.mytrip-primary-btn,
.mytrip-secondary-btn {
    border-radius: 8px;
    font-weight: 800;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mytrip-primary-btn {
    background: #0891b2;
    border-color: #0891b2;
    color: #fff !important;
}

.mytrip-secondary-btn {
    background: #fff;
    border: 1px solid #b9d5e2;
    color: #006591 !important;
}

.mytrip-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 28px;
}

.mytrip-heading h1 {
    font-size: 40px;
}

.mytrip-dot::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8ea0b5;
    margin: 0 10px 2px;
}

.mytrip-status {
    display: inline-flex;
    align-items: center;
    border: 1px solid #6bd8cb;
    background: #d9fbf7;
    color: #005049;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mytrip-card {
    background: #fff;
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 14px 35px rgba(11, 28, 48, 0.06);
    margin-bottom: 24px;
}

.mytrip-card-top,
.mytrip-airline,
.mytrip-timepoint,
.mytrip-section-title,
.mytrip-paper-header,
.mytrip-paper-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.mytrip-card-top {
    border-bottom: 1px solid #edf3fb;
    padding-bottom: 16px;
    margin-bottom: 22px;
}

.mytrip-airline {
    justify-content: flex-start;
}

.mytrip-airline img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #eff4ff;
    padding: 7px;
}

.mytrip-airline strong,
.mytrip-pnr strong,
.mytrip-passenger strong {
    display: block;
    color: #0b1c30;
}

.mytrip-airline span,
.mytrip-pnr span,
.mytrip-passenger span,
.mytrip-paper-cell span,
.mytrip-facts span {
    display: block;
    color: #66788c;
    font-size: 12px;
}

.mytrip-pnr {
    text-align: right;
}

.mytrip-pnr strong {
    color: #006591;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: .08em;
}

.mytrip-timeline {
    position: relative;
    padding-left: 22px;
}

.mytrip-timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: #0891b2;
}

.mytrip-timepoint {
    position: relative;
    align-items: flex-start;
    justify-content: flex-start;
}

.mytrip-timepoint::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0891b2;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #0891b2;
}

.mytrip-time {
    min-width: 130px;
}

.mytrip-time strong {
    display: block;
    font-size: 26px;
    color: #0b1c30;
}

.mytrip-time span {
    color: #66788c;
    font-size: 12px;
    font-weight: 700;
}

.mytrip-airport strong {
    display: block;
    color: #0b1c30;
    font-size: 17px;
}

.mytrip-airport span {
    color: #66788c;
}

.mytrip-duration {
    margin: 18px 0 18px 130px;
    color: #66788c;
    font-size: 13px;
    font-weight: 700;
}

.mytrip-section-title h2,
.mytrip-help-card h2,
.mytrip-paper h2 {
    color: #0b1c30;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 18px;
}

.mytrip-passenger {
    background: #f8fbff;
    border: 1px solid #e4edf8;
    border-radius: 8px;
    padding: 18px;
    height: 100%;
}

.mytrip-passenger dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 7px 12px;
    margin: 14px 0 0;
}

.mytrip-passenger dt {
    color: #66788c;
    font-size: 12px;
    font-weight: 800;
}

.mytrip-passenger dd {
    margin: 0;
    color: #0b1c30;
    font-size: 13px;
    font-weight: 700;
}

.mytrip-side-stack {
    position: sticky;
    top: 104px;
}

.mytrip-ref-card > span {
    color: #66788c;
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.mytrip-ref-card > strong {
    display: block;
    font-size: 22px;
    color: #0b1c30;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    word-break: break-word;
    margin: 8px 0 18px;
}

.mytrip-ref-card .btn + .btn {
    margin-top: 10px;
}

.mytrip-help-card {
    background: #e5eeff;
    text-align: center;
}

.mytrip-help-card p {
    color: #56657a;
}

.mytrip-help-card a {
    display: block;
    color: #006591;
    font-weight: 800;
    margin-top: 8px;
}

.mytrip-print-actions {
    max-width: 880px;
    margin: 0 auto 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.mytrip-paper {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    padding: 42px;
    box-shadow: 0 14px 38px rgba(11, 28, 48, 0.08);
}

.mytrip-paper-header {
    align-items: flex-start;
    border-bottom: 1px solid #dbe7f7;
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.mytrip-paper-header img {
    max-height: 52px;
    max-width: 170px;
    margin-bottom: 18px;
}

.mytrip-paper-section {
    margin-bottom: 34px;
}

.mytrip-paper-grid,
.mytrip-facts,
.mytrip-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mytrip-paper-cell,
.mytrip-facts div {
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    padding: 14px;
    background: #f8fbff;
}

.mytrip-itinerary-flight {
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.mytrip-route-head {
    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    gap: 20px;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #dbe7f7;
}

.mytrip-route-head div:last-child {
    text-align: right;
}

.mytrip-route-head span,
.mytrip-route-head em {
    display: block;
    color: #66788c;
    font-size: 12px;
    font-style: normal;
}

.mytrip-route-head strong {
    display: block;
    color: #0b1c30;
    font-size: 20px;
}

.mytrip-route-line {
    text-align: center;
    color: #006591;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
}

.mytrip-route-line::before,
.mytrip-route-line::after {
    display: none;
}

.mytrip-route-line::before {
    right: calc(100% + 10px);
}

.mytrip-route-line::after {
    left: calc(100% + 10px);
}

.mytrip-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 18px;
}

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

.mytrip-info-grid div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    padding: 14px 16px;
}

.mytrip-info-icon {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    color: #006591 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.mytrip-info-icon img {
    width: 52px;
    height: 52px;
    display: block;
}

.mytrip-info-grid strong {
    color: #0b1c30;
    font-size: 15px;
    line-height: 1.15;
    text-transform: uppercase;
}

.mytrip-info-grid span,
.mytrip-paper-footer p {
    color: #66788c;
    font-size: 13px;
}

.mytrip-paper-footer {
    border-top: 1px solid #dbe7f7;
    padding-top: 22px;
}

.mytrip-paper-footer p {
    max-width: 560px;
    margin: 0;
}

.mytrip-paper-footer span {
    display: block;
    color: #66788c;
    font-size: 12px;
}

.mytrip-paper-footer strong {
    color: #006591;
}

@media (max-width: 991px) {
    .mytrip-heading,
    .mytrip-card-top,
    .mytrip-paper-header,
    .mytrip-paper-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .mytrip-side-stack {
        position: static;
    }

    .mytrip-pnr,
    .mytrip-route-head div:last-child {
        text-align: left;
    }

    .mytrip-paper-grid,
    .mytrip-facts,
    .mytrip-info-grid,
    .mytrip-route-head {
        grid-template-columns: 1fr;
    }

    .mytrip-route-line {
        text-align: left;
    }

    .mytrip-route-line::before,
    .mytrip-route-line::after {
        display: none;
    }
}

@media (max-width: 575px) {
    .mytrip-page,
    .mytrip-search-wrap,
    .mytrip-itinerary-page {
        padding: 32px 0 48px;
    }

    .mytrip-search-panel,
    .mytrip-card,
    .mytrip-paper {
        padding: 22px;
    }

    .mytrip-heading h1,
    .mytrip-search-panel h1 {
        font-size: 28px;
    }

    .mytrip-timepoint {
        display: block;
    }

    .mytrip-time {
        min-width: 0;
        margin-bottom: 8px;
    }

    .mytrip-duration {
        margin-left: 0;
    }

    .mytrip-passenger dl {
        grid-template-columns: 1fr;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 5mm;
    }

    body > header,
    .navbar,
    body > footer,
    .footer,
    .footer-area,
    .footer-section,
    .site-footer,
    .floating-whatsapp-widget,
    .mytrip-print-actions,
    .mobile_apps,
    .bodyload,
    .loading-screen {
        display: none !important;
    }

    html,
    body,
    .mytrip-itinerary-page {
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    main,
    .container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .mytrip-paper {
        width: 200mm !important;
        max-width: 200mm !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 2mm 0 0 !important;
        font-size: 12px !important;
        zoom: .92 !important;
    }

    .mytrip-paper-section,
    .mytrip-itinerary-flight {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .mytrip-status {
        border: 1px solid #005049;
        background: #fff;
    }

    .mytrip-paper-header,
    .mytrip-paper-footer {
        align-items: flex-start !important;
        flex-direction: row !important;
        gap: 14px !important;
    }

    .mytrip-paper-header {
        padding-bottom: 11px !important;
        margin-bottom: 12px !important;
    }

    .mytrip-paper-header img {
        max-height: 42px !important;
        max-width: 155px !important;
        margin-bottom: 7px !important;
    }

    .mytrip-paper h1 {
        font-size: 30px !important;
        line-height: 1.1 !important;
    }

    .mytrip-paper h2 {
        font-size: 18px !important;
        margin: 0 0 9px !important;
    }

    .mytrip-paper-section {
        margin-bottom: 11px !important;
    }

    .mytrip-paper-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .mytrip-paper-cell,
    .mytrip-facts div {
        border-radius: 6px !important;
        padding: 9px 11px !important;
    }

    .mytrip-paper-cell span,
    .mytrip-facts span,
    .mytrip-route-head span,
        .mytrip-route-head em,
        .mytrip-info-grid span,
        .mytrip-paper-footer p,
        .mytrip-paper-footer span {
        font-size: 10.5px !important;
        line-height: 1.35 !important;
    }

    .mytrip-paper-cell strong,
    .mytrip-facts strong {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .mytrip-itinerary-flight {
        border-radius: 6px !important;
        margin-bottom: 8px !important;
    }

    .mytrip-route-head {
        grid-template-columns: 1fr 122px 1fr !important;
        gap: 10px !important;
        padding: 11px 13px !important;
    }

    .mytrip-route-head div:last-child {
        text-align: right !important;
    }

    .mytrip-route-head strong {
        font-size: 15px !important;
        line-height: 1.12 !important;
    }

    .mytrip-route-line {
        font-size: 9.5px !important;
    }

    .mytrip-route-line::before,
    .mytrip-route-line::after {
        display: none !important;
    }

    .mytrip-facts {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 8px !important;
    }

    .mytrip-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .mytrip-info-grid div {
        grid-template-columns: 48px minmax(0, 1fr) !important;
        border-radius: 6px !important;
        column-gap: 10px !important;
        row-gap: 4px !important;
        padding: 10px !important;
    }

    .mytrip-info-icon {
        width: 48px !important;
        height: 48px !important;
    }

    .mytrip-info-icon img {
        width: 48px !important;
        height: 48px !important;
    }

    .mytrip-info-grid strong {
        font-size: 13px !important;
        line-height: 1.15 !important;
    }

    .mytrip-paper-footer {
        padding-top: 8px !important;
    }

    .mytrip-paper-footer p {
        max-width: 130mm !important;
    }

    .mytrip-paper-footer strong {
        font-size: 11px !important;
    }

    * {
        box-shadow: none !important;
    }
}

body.mytrip-exporting {
    background: #fff !important;
}

body.mytrip-exporting > header,
body.mytrip-exporting .navbar,
body.mytrip-exporting > footer,
body.mytrip-exporting .footer,
body.mytrip-exporting .footer-area,
body.mytrip-exporting .footer-section,
body.mytrip-exporting .site-footer,
body.mytrip-exporting .floating-whatsapp-widget,
body.mytrip-exporting .mytrip-print-actions {
    display: none !important;
}

body.mytrip-exporting .mytrip-itinerary-page,
body.mytrip-exporting .container {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.mytrip-exporting .mytrip-paper {
    width: 200mm !important;
    max-width: 200mm !important;
    box-sizing: border-box !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5mm 4mm 4mm !important;
    font-size: 12px !important;
    zoom: .92 !important;
}

body.mytrip-exporting .mytrip-paper-header {
    padding-bottom: 11px !important;
    margin-bottom: 12px !important;
}

body.mytrip-exporting .mytrip-paper-header img {
    max-height: 42px !important;
    max-width: 155px !important;
    margin-bottom: 7px !important;
}

body.mytrip-exporting .mytrip-paper h1 {
    font-size: 30px !important;
    line-height: 1.1 !important;
}

body.mytrip-exporting .mytrip-paper h2 {
    font-size: 18px !important;
    margin: 0 0 9px !important;
}

body.mytrip-exporting .mytrip-paper-cell span,
body.mytrip-exporting .mytrip-facts span,
body.mytrip-exporting .mytrip-route-head span,
body.mytrip-exporting .mytrip-route-head em,
body.mytrip-exporting .mytrip-info-grid span,
body.mytrip-exporting .mytrip-paper-footer p,
body.mytrip-exporting .mytrip-paper-footer span {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
}

body.mytrip-exporting .mytrip-paper-cell strong,
body.mytrip-exporting .mytrip-facts strong {
    font-size: 13px !important;
    line-height: 1.2 !important;
}

body.mytrip-exporting .mytrip-paper-section {
    margin-bottom: 11px !important;
}

body.mytrip-exporting .mytrip-paper-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

body.mytrip-exporting .mytrip-paper-cell,
body.mytrip-exporting .mytrip-facts div {
    border-radius: 6px !important;
    padding: 9px 11px !important;
}

body.mytrip-exporting .mytrip-itinerary-flight {
    border-radius: 6px !important;
    margin-bottom: 8px !important;
}

body.mytrip-exporting .mytrip-route-head {
    grid-template-columns: 1fr 122px 1fr !important;
    gap: 10px !important;
    padding: 11px 13px !important;
}

body.mytrip-exporting .mytrip-route-head strong {
    font-size: 15px !important;
    line-height: 1.12 !important;
}

body.mytrip-exporting .mytrip-route-line {
    font-size: 9.5px !important;
}

body.mytrip-exporting .mytrip-route-line::before,
body.mytrip-exporting .mytrip-route-line::after {
    display: none !important;
}

body.mytrip-exporting .mytrip-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 8px !important;
}

body.mytrip-exporting .mytrip-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

body.mytrip-exporting .mytrip-info-grid div {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    border-radius: 6px !important;
    column-gap: 10px !important;
    row-gap: 4px !important;
    padding: 10px !important;
}

body.mytrip-exporting .mytrip-info-icon {
    width: 48px !important;
    height: 48px !important;
}

body.mytrip-exporting .mytrip-info-icon img {
    width: 48px !important;
    height: 48px !important;
    display: block !important;
}

body.mytrip-exporting .mytrip-info-grid strong {
    font-size: 13px !important;
    line-height: 1.15 !important;
}

body.mytrip-exporting .mytrip-paper-footer {
    padding-top: 8px !important;
}
