/* =====================================================
   SEFER ÖZET RAPORU — trip-report.css
   ===================================================== */

/* ── HERO STAGE ──────────────────────────────────── */
.tr-hero-stage {
    position: relative;
    min-height: 570px;
    border-radius: 30px;
    background: linear-gradient(145deg, #0c0f1e 0%, #141836 50%, #0c1c2e 100%);
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(12, 15, 30, 0.25);
}

.tr-stage-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(52px);
    animation: trPulseGlow 7s ease-in-out infinite;
}

.tr-glow-a {
    width: 240px; height: 240px;
    top: 10px; right: 20px;
    background: rgba(99, 102, 241, 0.20);
}

.tr-glow-b {
    width: 160px; height: 160px;
    bottom: 30px; left: 40px;
    background: rgba(245, 158, 11, 0.15);
    animation-delay: -3.2s;
}

/* ── DASH WINDOW ─────────────────────────────────── */
.tr-dash-window {
    position: absolute;
    top: 22px; left: 22px; right: 22px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 16px 18px;
    z-index: 2;
    animation: trFloatSoft 6s ease-in-out infinite;
}

.tr-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tr-dash-label {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,0.40);
    margin-bottom: 2px;
}

.tr-dash-header > div > strong { color: #fff; font-size: .9rem; font-weight: 700; }

.tr-dash-fleet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: rgba(99,102,241,0.18);
    border: 1px solid rgba(99,102,241,0.25);
    color: #a5b4fc;
    font-size: .72rem;
    font-weight: 600;
}

/* ── STAT STRIP ──────────────────────────────────── */
.tr-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.tr-stat-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 9px 10px;
    text-align: center;
}

.tr-stat-item strong { display: block; font-size: .92rem; font-weight: 800; color: #fff; }
.tr-stat-item span   { display: block; font-size: .65rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

.tr-si-blue  { background: rgba(59,130,246,0.14); border-color: rgba(59,130,246,0.20); }
.tr-si-blue strong { color: #93c5fd; }
.tr-si-green { background: rgba(16,185,129,0.14); border-color: rgba(16,185,129,0.20); }
.tr-si-green strong { color: #6ee7b7; }

/* ── LIVE LIST ───────────────────────────────────── */
.tr-live-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }

.tr-live-row {
    display: grid;
    grid-template-columns: 92px 1fr 110px;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background .3s ease;
}

.tr-lr-top       { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.18); }
.tr-lr-highlight { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.18); }

.tr-plate-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .70rem; font-weight: 700; color: #0d2238;
    background: rgba(255,255,255,0.08);
    padding: .18rem .44rem; border-radius: 7px;
    white-space: nowrap;
}

.tr-lr-bars { flex: 1; }
.tr-lr-bar-wrap { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.tr-lr-bar { height: 100%; border-radius: 999px; width: var(--w); animation: trBarGrow .9s ease both; }

.tr-lrb-mesai { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.tr-lrb-blue  { background: linear-gradient(90deg, #6366f1, #a5b4fc); }
.tr-lrb-teal  { background: linear-gradient(90deg, #0d9488, #2dd4bf); }

.tr-lr-vals { text-align: right; }
.tr-lr-mesai { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .70rem; font-weight: 700; color: #fcd34d; }
.tr-lr-km    { display: block; font-size: .64rem; color: rgba(255,255,255,0.40); }

/* ── CATEGORY STRIP ──────────────────────────────── */
.tr-cat-strip { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 9px; }

.tr-cat-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.30); margin-bottom: 7px; display: block; }

.tr-cat-bars { display: flex; gap: 10px; align-items: flex-end; height: 38px; }

.tr-cat-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; width: 56px; height: 100%; justify-content: flex-end;
}

.tr-cat-bar {
    width: 40px; height: var(--h); min-height: 4px;
    border-radius: 4px 4px 2px 2px;
    animation: trBarUp .9s ease both;
}

.tr-cat-item span  { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .62rem; color: rgba(255,255,255,0.35); }
.tr-cat-item small { font-size: .60rem; color: rgba(255,255,255,0.50); }

/* ── FLOATING CARDS ──────────────────────────────── */
.tr-float-card {
    position: absolute;
    width: 180px; padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    color: #fff; z-index: 10;
}

.tr-float-card span  { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.45); margin-bottom: 3px; }
.tr-float-card strong { display: block; font-size: 1.1rem; font-weight: 800; margin-bottom: 2px; }
.tr-float-card p     { margin: 0; font-size: .70rem; color: rgba(255,255,255,0.50); }

.tr-float-a { bottom: 18px; left: 18px; animation: trFloatCardA 7s ease-in-out infinite; }
.tr-float-b { bottom: 18px; right: 18px; animation: trFloatCardB 6.5s ease-in-out infinite; }

/* ── SHARED CARD ─────────────────────────────────── */
.tr-card {
    background: #fff;
    border: 1px solid rgba(13,34,56,0.08);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 32px rgba(12,34,56,0.05);
}

.tr-card-sub { font-size: .86rem; color: #6a7a88; margin-bottom: 16px; line-height: 1.65; }

/* ── OVERVIEW SECTION ────────────────────────────── */
.tr-overview-section { padding-top: 20px; padding-bottom: 20px; }

/* ── MESAI BARS ──────────────────────────────────── */
.tr-mesai-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.tr-mb-row { display: flex; flex-direction: column; gap: 4px; }
.tr-mb-label { display: flex; align-items: center; }

.tr-mb-badge { font-size: .70rem; font-weight: 700; padding: .20rem .55rem; border-radius: 999px; }
.tr-mbb-green { background: rgba(16,185,129,0.10); color: #059669; }
.tr-mbb-amber { background: rgba(245,158,11,0.10); color: #d97706; }
.tr-mbb-blue  { background: rgba(59,130,246,0.10); color: #0d6efd; }
.tr-mbb-gray  { background: rgba(107,114,128,0.10); color: #4b5563; }

.tr-mb-track { height: 22px; border-radius: 999px; background: #eef3f8; overflow: hidden; }

.tr-mb-fill {
    height: 100%; border-radius: 999px; width: var(--w);
    display: flex; align-items: center; padding-left: 8px;
    font-size: .68rem; color: #fff; font-weight: 600;
    animation: trBarGrow .9s ease both; min-width: 28px;
}

.tr-mbf-green { background: linear-gradient(90deg, #10b981, #6ee7b7); }
.tr-mbf-amber { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.tr-mbf-blue  { background: linear-gradient(90deg, #6366f1, #a5b4fc); }
.tr-mbf-gray  { background: linear-gradient(90deg, #6b7280, #9ca3af); }

.tr-mesai-avg {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px;
}
.tr-ma-item { background: #f8fbfe; border-radius: 12px; padding: 10px; text-align: center; }
.tr-ma-item strong { display: block; font-size: .82rem; font-weight: 800; color: #0d2238; }
.tr-ma-item small  { display: block; font-size: .68rem; color: #6a7a88; margin-top: 2px; }

/* ── TIME BREAKDOWN ──────────────────────────────── */
.tr-time-breakdown {
    background: #f8fbfe; border-radius: 14px; padding: 12px 14px;
}

.tr-tb-label { font-size: .72rem; color: #6a7a88; margin-bottom: 8px; }

.tr-tb-bar {
    display: flex; height: 28px; border-radius: 10px; overflow: hidden; gap: 2px;
}

.tr-tb-seg {
    height: 100%; width: var(--w);
    display: flex; align-items: center; justify-content: center;
    font-size: .66rem; color: #fff; font-weight: 600;
    border-radius: 6px;
    animation: trBarGrow .9s ease both;
}

.tr-tbs-sefer   { background: linear-gradient(90deg, #6366f1, #818cf8); }
.tr-tbs-bekleme { background: linear-gradient(90deg, #94a3b8, #b0b9c6); }
.tr-tbs-rolanti { background: linear-gradient(90deg, #f59e0b, #fcd34d); }

/* ── CITY LIST ───────────────────────────────────── */
.tr-city-list { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }

.tr-city-row {
    display: grid; grid-template-columns: 38px 1fr 80px;
    align-items: center; gap: 8px;
    animation: trFadeUp .5s ease both;
}

.tr-city-badge {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .80rem; font-weight: 800;
}

.tr-cb-amber { background: rgba(245,158,11,0.12); color: #d97706; }
.tr-cb-blue  { background: rgba(59,130,246,0.12); color: #0d6efd; }
.tr-cb-teal  { background: rgba(6,182,212,0.12);  color: #0891b2; }
.tr-cb-gray  { background: rgba(107,114,128,0.10); color: #4b5563; }

.tr-city-body strong { display: block; font-size: .82rem; font-weight: 700; color: #0d2238; }
.tr-city-body span   { font-size: .72rem; color: #6a7a88; }

.tr-city-track { height: 7px; border-radius: 999px; background: #eef3f8; overflow: hidden; }
.tr-city-fill { height: 100%; border-radius: 999px; width: var(--w); animation: trBarGrow .9s ease both; }

.tr-cf-amber { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.tr-cf-blue  { background: linear-gradient(90deg, #3b82f6, #93c5fd); }
.tr-cf-teal  { background: linear-gradient(90deg, #06b6d4, #67e8f9); }
.tr-cf-gray  { background: linear-gradient(90deg, #6b7280, #9ca3af); }

/* ── SPEED GRID ──────────────────────────────────── */
.tr-speed-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px;
}

.tr-sg-item {
    border-radius: 14px; padding: 12px 12px;
    display: flex; flex-direction: column; gap: 3px;
}

.tr-sg-item i      { font-size: 1rem; margin-bottom: 3px; }
.tr-sg-item strong { font-size: .88rem; font-weight: 800; color: #0d2238; display: block; }
.tr-sg-item span   { font-size: .73rem; color: #29455d; }
.tr-sg-item small  { font-size: .66rem; color: #6a7a88; }

.tr-sg-red    { background: rgba(239,68,68,0.07);   border: 1px solid rgba(239,68,68,0.12); }
.tr-sg-red i  { color: #ef4444; }
.tr-sg-blue   { background: rgba(59,130,246,0.07);  border: 1px solid rgba(59,130,246,0.12); }
.tr-sg-blue i { color: #3b82f6; }
.tr-sg-green  { background: rgba(16,185,129,0.07);  border: 1px solid rgba(16,185,129,0.12); }
.tr-sg-green i { color: #10b981; }
.tr-sg-amber  { background: rgba(245,158,11,0.07);  border: 1px solid rgba(245,158,11,0.12); }
.tr-sg-amber i { color: #f59e0b; }

/* ── FUEL SECTION ────────────────────────────────── */
.tr-fuel-total { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }

.tr-ft-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 14px;
}

.tr-ft-item i      { font-size: 1.4rem; flex-shrink: 0; }
.tr-ft-item strong { display: block; font-size: 1.05rem; font-weight: 800; color: #0d2238; }
.tr-ft-item span   { display: block; font-size: .76rem; color: #29455d; margin-top: 1px; }

.tr-ft-primary { background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.12); }
.tr-ft-primary i { color: #6366f1; }
.tr-ft-rate    { background: rgba(6,182,212,0.06);  border: 1px solid rgba(6,182,212,0.12); }
.tr-ft-rate i  { color: #06b6d4; }

/* ── FUEL LIST ───────────────────────────────────── */
.tr-fuel-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }

.tr-fl-row {
    display: grid; grid-template-columns: 90px 1fr 62px;
    align-items: center; gap: 8px;
    animation: trFadeUp .5s ease both;
}

.tr-fl-track { height: 7px; border-radius: 999px; background: #eef3f8; overflow: hidden; }
.tr-fl-fill  { height: 100%; border-radius: 999px; width: var(--w); animation: trBarGrow .9s ease both; }

.tr-ff-red    { background: linear-gradient(90deg, #ef4444, #f87171); }
.tr-ff-orange { background: linear-gradient(90deg, #f97316, #fb923c); }
.tr-ff-amber  { background: linear-gradient(90deg, #f59e0b, #fcd34d); }

.tr-fl-val { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .76rem; font-weight: 700; color: #0d2238; text-align: right; white-space: nowrap; }

.tr-fuel-avg {
    display: flex; gap: 8px; align-items: center;
    background: rgba(13,110,253,0.04);
    border: 1px solid rgba(13,110,253,0.10);
    border-radius: 12px; padding: 9px 12px;
    font-size: .80rem; color: #29455d;
}
.tr-fuel-avg i { color: #0d6efd; }
.tr-fuel-avg strong { color: #0d2238; }

/* ── TABLE SECTION ───────────────────────────────── */
.tr-table-section { padding-top: 20px; padding-bottom: 20px; }

.tr-sample-table { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }

.tr-st-head {
    display: grid;
    grid-template-columns: 90px 80px 65px 80px 72px 72px;
    gap: 8px; padding: 0 12px 5px;
    font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #6a7a88;
}

.tr-st-row {
    display: grid;
    grid-template-columns: 90px 80px 65px 80px 72px 72px;
    gap: 8px; align-items: center;
    padding: 9px 12px; border-radius: 12px;
    font-size: .82rem;
    animation: trFadeUp .5s ease both;
    transition: background .2s ease;
}
.tr-st-row:hover { filter: brightness(1.02); }

.tr-str-high { background: rgba(245,158,11,0.05); border: 1px solid rgba(245,158,11,0.10); }
.tr-str-mid  { background: rgba(99,102,241,0.04); border: 1px solid rgba(99,102,241,0.09); }
.tr-str-low  { background: #f8fbfe; border: 1px solid #eef3f8; }
.tr-st-row:not([class*="tr-str"]) { background: #f8fbfe; border: 1px solid #eef3f8; }

.tr-st-mesai { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; font-size: .80rem; }
.tr-m-high { color: #d97706; }
.tr-m-mid  { color: #6366f1; }
.tr-m-low  { color: #6a7a88; }

.tr-st-km { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .78rem; font-weight: 600; color: #29455d; }

.tr-st-hiz { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; font-size: .78rem; color: #29455d; }
.tr-h-warn { color: #d97706; }
.tr-h-red  { color: #dc2626; }

.tr-st-rolanti { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .76rem; color: #6a7a88; }

.tr-st-tuketim { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .78rem; font-weight: 600; color: #0891b2; }

.tr-table-note {
    display: flex; gap: 8px; align-items: flex-start;
    background: rgba(13,110,253,0.04);
    border: 1px solid rgba(13,110,253,0.10);
    border-radius: 12px; padding: 10px 13px;
    font-size: .80rem; color: #29455d; line-height: 1.65;
}
.tr-table-note i { color: #0d6efd; flex-shrink: 0; margin-top: 1px; }
.tr-table-note p { margin: 0; }

/* ── METRIC CARDS ────────────────────────────────── */
.tr-metric-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 16px; border: 1px solid transparent;
}
.tr-metric-card i      { font-size: 1.3rem; flex-shrink: 0; }
.tr-metric-card strong { display: block; font-size: .92rem; font-weight: 800; color: #0d2238; margin-bottom: 2px; }
.tr-metric-card span   { display: block; font-size: .78rem; color: #29455d; }
.tr-metric-card small  { display: block; font-size: .70rem; color: #6a7a88; margin-top: 2px; }

.tr-mc-blue  { background: rgba(99,102,241,0.05); border-color: rgba(99,102,241,0.10); }
.tr-mc-blue i { color: #6366f1; }
.tr-mc-green { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.12); }
.tr-mc-green i { color: #10b981; }
.tr-mc-amber { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.12); }
.tr-mc-amber i { color: #f59e0b; }
.tr-mc-red   { background: rgba(239,68,68,0.05);  border-color: rgba(239,68,68,0.10); }
.tr-mc-red i { color: #ef4444; }
.tr-mc-purple { background: rgba(6,182,212,0.06); border-color: rgba(6,182,212,0.12); }
.tr-mc-purple i { color: #06b6d4; }

/* ── FEATURES SECTION ────────────────────────────── */
.tr-features-section { padding-top: 20px; padding-bottom: 20px; }
.tr-feat-card { transition: transform .28s ease, box-shadow .28s ease; animation: trFadeUp .5s ease both; }
.tr-feat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(12,34,56,0.09); }

/* ── KEYFRAMES ───────────────────────────────────── */
@keyframes trPulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.08); opacity: .78; }
}
@keyframes trFloatSoft {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}
@keyframes trFloatCardA {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-9px); }
}
@keyframes trFloatCardB {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}
@keyframes trFadeUp {
    0%   { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes trBarGrow {
    0%   { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); }
}
@keyframes trBarUp {
    0%   { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 991.98px) {
    .tr-hero-stage { min-height: 480px; }
    .tr-dash-window { top: 16px; left: 16px; right: 16px; }
    .tr-float-a, .tr-float-b { display: none; }
    .tr-st-head, .tr-st-row { grid-template-columns: 85px 70px 60px 70px 65px; }
    .tr-st-row > :last-child, .tr-st-head > :last-child { display: none; }
}

@media (max-width: 767.98px) {
    .tr-stat-strip { grid-template-columns: 1fr 1fr; }
    .tr-live-row { grid-template-columns: 80px 1fr 90px; }
    .tr-speed-grid { grid-template-columns: 1fr; }
    .tr-mesai-avg { grid-template-columns: 1fr 1fr; }
    .tr-st-head, .tr-st-row { grid-template-columns: 80px 70px 60px 65px; }
    .tr-st-row > :nth-child(5), .tr-st-head > :nth-child(5) { display: none; }
}
