.dts-flight-tracker {
    padding: 72px 0 64px;
    overflow: hidden;
    background: #0b1324;
    color: #f7fbff;
}

.dts-flight-tracker__feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    align-items: center;
    gap: 56px;
    max-width: 1120px;
    margin: 0 auto 32px;
    padding: 42px 48px;
    border: 1px solid rgba(114, 154, 195, .2);
    border-radius: 8px;
    background: #101a31;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.dts-flight-tracker__intro {
    max-width: 650px;
}

.dts-flight-tracker__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #45d0ca;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dts-flight-tracker__intro h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.12;
}

.dts-flight-tracker__intro p {
    margin: 0;
    color: #a9b8cc;
    font-size: 18px;
    line-height: 1.75;
}

.dts-flight-tracker__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.dts-flight-tracker__benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(69, 208, 202, .28);
    border-radius: 6px;
    background: rgba(69, 208, 202, .08);
    color: #d8f7f5;
    font-size: 13px;
    font-weight: 800;
}

.dts-flight-radar {
    position: relative;
    width: min(100%, 390px);
    aspect-ratio: 1;
    justify-self: center;
    overflow: hidden;
    border: 1px solid rgba(114, 154, 195, .18);
    border-radius: 8px;
    background:
        radial-gradient(circle at center, rgba(69, 208, 202, .08), transparent 58%),
        #080f1d;
}

.dts-flight-radar__grid {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(69, 208, 202, .3);
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 24%, rgba(69, 208, 202, .17) 25% 25.5%, transparent 26% 49%, rgba(69, 208, 202, .17) 50% 50.5%, transparent 51% 74%, rgba(69, 208, 202, .17) 75% 75.5%, transparent 76%),
        linear-gradient(90deg, transparent 49.7%, rgba(69, 208, 202, .12) 50%, transparent 50.3%),
        linear-gradient(transparent 49.7%, rgba(69, 208, 202, .12) 50%, transparent 50.3%);
}

.dts-flight-radar__sweep {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 315deg, rgba(69, 208, 202, .02) 320deg, rgba(69, 208, 202, .5) 359deg, transparent 360deg);
    animation: dts-radar-sweep 4.2s linear infinite;
}

.dts-flight-radar__sweep::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 43%;
    height: 1px;
    background: linear-gradient(90deg, rgba(69, 208, 202, .9), transparent);
    transform-origin: left center;
}

.dts-flight-radar__center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff665c;
    box-shadow: 0 0 18px rgba(255, 102, 92, .8);
    transform: translate(-50%, -50%);
}

.dts-flight-radar__plane {
    position: absolute;
    color: #fff;
    font-size: 22px;
    filter: drop-shadow(0 0 7px rgba(69, 208, 202, .8));
    animation: dts-plane-pulse 2.4s ease-in-out infinite;
}

.dts-flight-radar__plane--one { top: 23%; left: 65%; transform: rotate(35deg); }
.dts-flight-radar__plane--two { top: 57%; left: 72%; transform: rotate(76deg); animation-delay: -.6s; }
.dts-flight-radar__plane--three { top: 69%; left: 29%; transform: rotate(-45deg); animation-delay: -1.2s; }
.dts-flight-radar__plane--four { top: 33%; left: 25%; transform: rotate(18deg); animation-delay: -1.8s; }

.dts-flight-radar__readout {
    position: absolute;
    right: 16px;
    bottom: 14px;
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid rgba(114, 154, 195, .2);
    border-radius: 6px;
    background: rgba(8, 15, 29, .82);
    color: #dce8f5;
    font-size: 12px;
}

.dts-flight-radar__live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #45d0ca;
    font-weight: 800;
}

.dts-flight-radar__live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #45d0ca;
    box-shadow: 0 0 9px rgba(69, 208, 202, .9);
    animation: dts-live-pulse 1.4s ease-in-out infinite;
}

.dts-flight-tracker__panel {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #dbe5ea;
    border-radius: 8px;
    background: #fff;
    color: #15202b;
    box-shadow: 0 16px 40px rgba(20, 47, 60, .1);
}

.dts-flight-tracker__panel h3,
.dts-flight-tracker__panel dd {
    color: #15202b;
}

@keyframes dts-radar-sweep {
    to { transform: rotate(360deg); }
}

@keyframes dts-plane-pulse {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}

@keyframes dts-live-pulse {
    0%, 100% { opacity: .45; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1.15); }
}

.dts-flight-airports {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.dts-flight-airport {
    min-height: 44px;
    border: 1px solid #cbd7dd;
    border-radius: 7px;
    background: #fff;
    color: #26343d;
    font-weight: 800;
}

.dts-flight-airport--dlm { border-color: #00a19c; }
.dts-flight-airport--ayt { border-color: #e78a00; }
.dts-flight-airport--bjv { border-color: #8b2db5; }
.dts-flight-airport.is-active { color: #fff; background: #26343d; border-color: #26343d; }
.dts-flight-airport--dlm.is-active { background: #00a19c; border-color: #00a19c; }
.dts-flight-airport--ayt.is-active { background: #e78a00; border-color: #e78a00; }
.dts-flight-airport--bjv.is-active { background: #8b2db5; border-color: #8b2db5; }

.dts-flight-search label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.dts-flight-search__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.dts-flight-search__field {
    position: relative;
}

.dts-flight-search__field i {
    position: absolute;
    top: 50%;
    left: 18px;
    color: #008d89;
    transform: translateY(-50%);
}

.dts-flight-search input {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 48px;
    border: 2px solid #d7e1e6;
    border-radius: 7px;
    font-size: 17px;
    text-transform: uppercase;
}

.dts-flight-search input:focus {
    border-color: #00a19c;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 161, 156, .12);
}

.dts-flight-search button,
.dts-flight-book {
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 7px;
    background: #00a19c;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.dts-flight-message,
.dts-flight-demo-notice {
    margin-top: 18px;
    padding: 13px 15px;
    border: 1px solid #f0c36d;
    border-radius: 7px;
    background: #fff8e7;
    color: #7a5600;
}

.dts-flight-message.is-error {
    border-color: #efb0b0;
    background: #fff0f0;
    color: #9b2323;
}

.dts-flight-result {
    margin-top: 24px;
    border-top: 1px solid #e2e9ed;
    padding-top: 24px;
}

.dts-flight-result__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.dts-flight-result__airline {
    color: #68757e;
    font-weight: 700;
}

.dts-flight-result__number {
    margin: 3px 0 0;
    font-size: 30px;
    font-weight: 900;
}

.dts-flight-result__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.dts-flight-result__source,
.dts-flight-result__status {
    padding: 7px 10px;
    border-radius: 6px;
    background: #e9f7f6;
    color: #007d78;
    font-size: 13px;
    font-weight: 800;
}

.dts-flight-result__source.is-demo {
    background: #fff0d1;
    color: #8c5d00;
}

.dts-flight-route {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
    gap: 20px;
    margin: 26px 0;
}

.dts-flight-stop {
    min-height: 230px;
    padding: 22px;
    border: 1px solid #dce5e9;
    border-radius: 8px;
    background: #fbfcfd;
}

.dts-flight-stop__label {
    display: block;
    color: #73808a;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.dts-flight-stop__iata {
    display: block;
    margin: 4px 0;
    color: #142630;
    font-size: 35px;
}

.dts-flight-stop__airport {
    display: block;
    min-height: 42px;
    color: #56636c;
}

.dts-flight-stop dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 16px;
    margin: 18px 0 0;
}

.dts-flight-stop dt { color: #68757e; font-weight: 600; }
.dts-flight-stop dd { margin: 0; font-weight: 800; text-align: right; }

.dts-flight-route__line {
    position: relative;
    height: 2px;
    background: #00a19c;
}

.dts-flight-route__line::after {
    content: "";
    position: absolute;
    top: -4px;
    right: -1px;
    width: 9px;
    height: 9px;
    border-top: 2px solid #00a19c;
    border-right: 2px solid #00a19c;
    transform: rotate(45deg);
}

.dts-flight-route__line i {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 7px;
    background: #fff;
    color: #00a19c;
    transform: translate(-50%, -50%);
}

.dts-flight-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
}

@media (max-width: 767px) {
    .dts-flight-tracker { padding: 48px 0; }
    .dts-flight-tracker__feature {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 20px;
    }
    .dts-flight-tracker__intro { text-align: center; }
    .dts-flight-tracker__intro h2 { font-size: 30px; }
    .dts-flight-tracker__intro p { font-size: 16px; }
    .dts-flight-tracker__benefits { justify-content: center; }
    .dts-flight-radar { width: min(100%, 310px); }
    .dts-flight-tracker__panel { padding: 18px; }
    .dts-flight-airports { grid-template-columns: 1fr 1fr; }
    .dts-flight-search__row { grid-template-columns: 1fr; }
    .dts-flight-search button { width: 100%; }
    .dts-flight-result__header { flex-direction: column; }
    .dts-flight-result__meta { justify-content: flex-start; }
    .dts-flight-route { grid-template-columns: 1fr; }
    .dts-flight-route__line { width: 2px; height: 48px; margin: 0 auto; }
    .dts-flight-route__line::after { top: auto; right: -4px; bottom: 0; transform: rotate(135deg); }
    .dts-flight-route__line i { transform: translate(-50%, -50%) rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
    .dts-flight-radar__sweep,
    .dts-flight-radar__plane,
    .dts-flight-radar__live i {
        animation: none;
    }
}
