/* =====================================================
   Bölgeye Giriş/Çıkış Raporu — region-report.css
   ===================================================== */

/* ── HERO STAGE ──────────────────────────────────── */
.br-hero-stage {
    position: relative;
    min-height: 570px;
    border-radius: 30px;
    background: linear-gradient(145deg, #06101f 0%, #0c1e34 50%, #0a1628 100%);
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(6, 16, 31, 0.25);
}

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

.br-glow-a {
    width: 240px; height: 240px;
    top: 10px; right: 20px;
    background: rgba(59, 130, 246, 0.20);
}

.br-glow-b {
    width: 160px; height: 160px;
    bottom: 30px; left: 40px;
    background: rgba(16, 185, 129, 0.16);
    animation-delay: -3.2s;
}

/* ── DASH WINDOW ─────────────────────────────────── */
.br-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: brFloatSoft 6s ease-in-out infinite;
}

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

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

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

.br-dash-loc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: rgba(16,185,129,0.16);
    border: 1px solid rgba(16,185,129,0.22);
    color: #6ee7b7;
    font-size: .72rem;
    font-weight: 600;
}

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

.br-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;
}

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

.br-si-blue   { background: rgba(59,130,246,0.14); border-color: rgba(59,130,246,0.20); }
.br-si-blue strong { color: #93c5fd; }
.br-si-amber  { background: rgba(245,158,11,0.14); border-color: rgba(245,158,11,0.20); }
.br-si-amber strong { color: #fcd34d; }

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

.br-live-row {
    display: grid;
    grid-template-columns: 10px 90px 1fr 90px;
    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;
}

.br-lr-active { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.15); }
.br-lr-done   { opacity: .65; }
.br-lr-highlight { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.15); }

.br-lr-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.br-dot-green { background: #10b981; box-shadow: 0 0 5px rgba(16,185,129,0.5); }
.br-dot-blue  { background: #3b82f6; }
.br-dot-gray  { background: #4b5563; }

.br-plate-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem; font-weight: 700; color: #000;
    background: rgba(255, 255, 255, .12);
    padding: .18rem .45rem; border-radius: 7px;
    white-space: nowrap;
}

.br-lr-body { overflow: hidden; }
.br-lr-body span { font-size: .68rem; color: rgba(255,255,255,0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.br-lr-dur {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .70rem; font-weight: 700;
    display: flex; align-items: center; gap: 4px;
    justify-content: flex-end;
}

.br-dur-high   { color: #fca5a5; }
.br-dur-mid    { color: #fcd34d; }
.br-dur-normal { color: rgba(255,255,255,0.55); }

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

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

.br-hs-bars {
    display: flex; gap: 10px; align-items: flex-end; height: 36px;
}

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

.br-hs-bar {
    width: 36px; height: var(--h); min-height: 3px;
    border-radius: 4px 4px 2px 2px;
    animation: brBarUp .9s ease both;
}

.br-hs-item span  { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .62rem; color: rgba(255,255,255,0.35); }

/* ── FLOATING CARDS ──────────────────────────────── */
.br-float-card {
    position: absolute;
    width: 175px; 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;
}

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

.br-float-a { bottom: 18px; left: 18px; animation: brFloatCardA 7s ease-in-out infinite; }
.br-float-b { bottom: 18px; right: 18px; animation: brFloatCardB 6.5s ease-in-out infinite; }

/* ── SHARED CARD ─────────────────────────────────── */
.br-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);
}

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

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

/* ── DURATION BARS ───────────────────────────────── */
.br-dur-bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }

.br-db-row { display: flex; flex-direction: column; gap: 5px; }

.br-db-label { display: flex; align-items: center; gap: 8px; }
.br-db-label small { font-size: .70rem; color: #6a7a88; }

.br-db-badge { font-size: .70rem; font-weight: 700; padding: .20rem .55rem; border-radius: 999px; }
.br-dbb-blue  { background: rgba(13,110,253,0.10);  color: #0d6efd; }
.br-dbb-amber { background: rgba(245,158,11,0.10);  color: #d97706; }
.br-dbb-gray  { background: rgba(107,114,128,0.10); color: #4b5563; }
.br-dbb-teal  { background: rgba(6,182,212,0.10);   color: #0891b2; }

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

.br-db-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: brBarGrow .9s ease both; min-width: 28px;
}

.br-dbf-blue  { background: linear-gradient(90deg, #0d6efd, #56a0ff); }
.br-dbf-amber { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.br-dbf-gray  { background: linear-gradient(90deg, #6b7280, #9ca3af); }
.br-dbf-teal  { background: linear-gradient(90deg, #06b6d4, #67e8f9); }

.br-avg-box {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}

.br-avg-item { background: #f8fbfe; border-radius: 12px; padding: 10px; text-align: center; }
.br-avg-item strong { display: block; font-size: .82rem; font-weight: 800; color: #0d2238; }
.br-avg-item small  { display: block; font-size: .68rem; color: #6a7a88; margin-top: 2px; }

/* ── GROUP LIST ──────────────────────────────────── */
.br-group-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }

.br-gl-row {
    display: flex; align-items: center; gap: 10px;
    background: #f8fbfe; border-radius: 14px; padding: 10px 12px;
    animation: brFadeUp .5s ease both;
    transition: background .2s ease;
}
.br-gl-row:hover { background: #f0f7ff; }

.br-gl-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; flex-shrink: 0;
}

.br-gli-blue   { background: rgba(13,110,253,0.10); color: #0d6efd; }
.br-gli-teal   { background: rgba(6,182,212,0.10);  color: #0891b2; }
.br-gli-purple { background: rgba(139,92,246,0.10); color: #8b5cf6; }
.br-gli-amber  { background: rgba(245,158,11,0.10); color: #d97706; }

.br-gl-body { flex: 1; }
.br-gl-body strong { display: block; font-size: .80rem; font-weight: 700; color: #0d2238; }
.br-gl-body span   { font-size: .72rem; color: #6a7a88; }

.br-gl-badge { font-size: .66rem; font-weight: 700; padding: .20rem .55rem; border-radius: 999px; }
.br-glb-blue   { background: rgba(13,110,253,0.10);  color: #0d6efd; }
.br-glb-teal   { background: rgba(6,182,212,0.10);   color: #0891b2; }
.br-glb-purple { background: rgba(139,92,246,0.10);  color: #8b5cf6; }
.br-glb-amber  { background: rgba(245,158,11,0.10);  color: #d97706; }

/* ── BURADA BOX ──────────────────────────────────── */
.br-burada-box {
    background: rgba(16,185,129,0.05);
    border: 1px solid rgba(16,185,129,0.14);
    border-radius: 16px; padding: 13px 15px;
}

.br-bb-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 7px;
}

.br-bb-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: #10b981; flex-shrink: 0;
}

.br-bb-header strong { font-size: .85rem; font-weight: 700; color: #059669; }

.br-burada-box p { margin: 0; font-size: .80rem; color: #29455d; line-height: 1.65; }

/* ── HOUR CHART ──────────────────────────────────── */
.br-hour-chart { display: flex; flex-direction: column; gap: 8px; }

.br-hc-item { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: center; animation: brFadeUp .5s ease both; }

.br-hc-label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .74rem; font-weight: 700; color: #29455d; }

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

.br-hc-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: brBarGrow .9s ease both; min-width: 24px;
}

.br-hcf-purple { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.br-hcf-green  { background: linear-gradient(90deg, #10b981, #6ee7b7); }
.br-hcf-blue   { background: linear-gradient(90deg, #0d6efd, #56a0ff); }
.br-hcf-amber  { background: linear-gradient(90deg, #f59e0b, #fcd34d); }

/* ── TOP LIST ────────────────────────────────────── */
.br-top-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

.br-top-row {
    display: grid; grid-template-columns: 90px 1fr 70px;
    align-items: center; gap: 8px;
    animation: brFadeUp .5s ease both;
}

.br-top-bar-wrap { flex: 1; }
.br-top-track { height: 7px; border-radius: 999px; background: #eef3f8; overflow: hidden; }
.br-top-fill { height: 100%; border-radius: 999px; width: var(--w); animation: brBarGrow .9s ease both; }

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

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

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

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

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

.br-st-row {
    display: grid;
    grid-template-columns: 90px 1.2fr 68px 68px 80px 80px;
    gap: 10px; align-items: center;
    padding: 9px 12px; border-radius: 12px;
    font-size: .82rem;
    animation: brFadeUp .5s ease both;
    transition: background .2s ease;
}
.br-st-row:hover { filter: brightness(1.02); }

.br-str-ok   { background: #f8fbfe; border: 1px solid #eef3f8; }
.br-str-long { background: rgba(245,158,11,0.04); border: 1px solid rgba(245,158,11,0.10); }
.br-str-here { background: rgba(16,185,129,0.04); border: 1px solid rgba(16,185,129,0.12); }

.br-st-group { font-size: .76rem; color: #29455d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.br-st-time {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .74rem; color: #6a7a88;
}

.br-muted { color: #94a3b8; }

.br-st-dur {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 700; font-size: .78rem; color: #29455d;
}

.br-dur-high { color: #dc2626; }
.br-dur-here { color: #059669; }

.br-st-status { display: flex; align-items: center; gap: 5px; font-size: .76rem; }

.br-ss-done { color: #6a7a88; }

.br-ss-here {
    color: #059669; font-weight: 700;
    display: flex; align-items: center; gap: 5px;
}

.br-here-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #10b981; display: inline-block;
}

@keyframes brDotBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .2; }
}

.br-dot-blink { animation: brDotBlink 1.5s ease-in-out infinite; }

.br-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;
}
.br-table-note i { color: #0d6efd; flex-shrink: 0; margin-top: 1px; }
.br-table-note p { margin: 0; }

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

.br-mc-blue   { background: rgba(13,110,253,0.05); border-color: rgba(13,110,253,0.10); }
.br-mc-blue i { color: #0d6efd; }
.br-mc-green  { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.12); }
.br-mc-green i { color: #10b981; }
.br-mc-amber  { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.12); }
.br-mc-amber i { color: #f59e0b; }
.br-mc-purple { background: rgba(139,92,246,0.05); border-color: rgba(139,92,246,0.10); }
.br-mc-purple i { color: #8b5cf6; }

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

/* ── KEYFRAMES ───────────────────────────────────── */
@keyframes brPulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.08); opacity: .78; }
}
@keyframes brFloatSoft {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}
@keyframes brFloatCardA {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-9px); }
}
@keyframes brFloatCardB {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}
@keyframes brFadeUp {
    0%   { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes brBarGrow {
    0%   { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); }
}
@keyframes brBarUp {
    0%   { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}

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

@media (max-width: 767.98px) {
    .br-stat-strip { grid-template-columns: repeat(2, 1fr); }
    .br-live-row { grid-template-columns: 8px 80px 1fr; }
    .br-lr-dur { display: none; }
    .br-st-head, .br-st-row { grid-template-columns: 80px 1fr 70px 70px; }
    .br-st-row > :nth-child(4) { display: none; }
    .br-avg-box { grid-template-columns: 1fr 1fr; }
}
