/* =====================================================
   Durak Raporu — point-report.css
   ===================================================== */

/* ── HERO STAGE ──────────────────────────────────── */
.np-hero-stage {
    position: relative;
    min-height: 560px;
    border-radius: 30px;
    background: linear-gradient(145deg, #071a0f 0%, #0d2b1a 50%, #081828 100%);
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(7, 26, 15, 0.25);
}

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

.np-glow-a {
    width: 220px; height: 220px;
    top: 10px; right: 20px;
    background: rgba(16, 185, 129, 0.22);
}

.np-glow-b {
    width: 160px; height: 160px;
    bottom: 30px; left: 40px;
    background: rgba(59, 130, 246, 0.18);
    animation-delay: -3.2s;
}

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

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

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

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

.np-dash-stats { display: flex; gap: 6px; }

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

.np-ds-blue {
    background: rgba(59,130,246,0.18);
    border-color: rgba(59,130,246,0.25);
    color: #93c5fd;
}

/* ── TIMELINE ────────────────────────────────────── */
.np-timeline {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.np-tl-row {
    display: grid;
    grid-template-columns: 40px 12px 1fr 46px;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 10px;
    transition: background .3s ease;
}

.np-tl-active {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.20);
}

.np-tl-time {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .68rem;
    color: rgba(255,255,255,0.45);
}

.np-tl-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.np-dot-green { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.5); }
.np-dot-blue  { background: #3b82f6; box-shadow: 0 0 6px rgba(59,130,246,0.4); }
.np-dot-amber { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.4); }

.np-tl-body strong { display: block; font-size: .72rem; font-weight: 700; color: #fff; line-height: 1.2; }
.np-tl-body span   { font-size: .65rem; color: rgba(255,255,255,0.45); }

.np-tl-dur {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .68rem;
    color: #6ee7b7;
    text-align: right;
}

/* ── HOUR MINI BARS ──────────────────────────────── */
.np-day-summary { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 10px; }

.np-ds-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 8px;
}

.np-hour-mini {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 42px;
}

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

.np-hm-bar {
    width: 36px;
    height: var(--h);
    min-height: 4px;
    border-radius: 5px 5px 3px 3px;
    animation: npBarUp .9s ease both;
}

.np-hm-item span  { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .65rem; font-weight: 700; color: rgba(255,255,255,0.50); }
.np-hm-item small { font-size: .60rem; color: rgba(255,255,255,0.30); }

/* ── FLOATING CARDS ──────────────────────────────── */
.np-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.11);
    backdrop-filter: blur(10px);
    color: #fff;
    z-index: 10;
}

.np-float-card span  { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.50); margin-bottom: 3px; }
.np-float-card strong { display: block; font-size: 1.2rem; font-weight: 800; margin-bottom: 2px; }
.np-float-card p     { margin: 0; font-size: .72rem; color: rgba(255,255,255,0.55); }

.np-float-a { bottom: 18px; left: 18px; animation: npFloatCardA 7s ease-in-out infinite; }
.np-float-b { bottom: 18px; right: 18px; animation: npFloatCardB 6.5s ease-in-out infinite; }

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

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

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

/* ── POINT BARS ──────────────────────────────────── */
.np-point-bars { display: flex; flex-direction: column; gap: 8px; }

.np-pb-row { display: flex; flex-direction: column; gap: 4px; }

.np-pb-label { font-size: .76rem; font-weight: 600; color: #29455d; }

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

.np-pb-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: npBarGrow .9s ease both; min-width: 24px;
}

.np-pbf-1 { background: linear-gradient(90deg, #059669, #34d399); }
.np-pbf-2 { background: linear-gradient(90deg, #0d6efd, #56a0ff); }
.np-pbf-3 { background: linear-gradient(90deg, #06b6d4, #67e8f9); }
.np-pbf-4 { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.np-pbf-5 { background: linear-gradient(90deg, #6b7280, #9ca3af); }

/* ── PIVOT TABLE ─────────────────────────────────── */
.np-pivot-table { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }

.np-pt-head {
    display: grid;
    grid-template-columns: 1.4fr repeat(5, .8fr);
    gap: 6px;
    padding: 0 10px 6px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6a7a88;
}

.np-pt-row {
    display: grid;
    grid-template-columns: 1.4fr repeat(5, .8fr);
    gap: 6px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 12px;
    background: #f8fbfe;
    animation: npFadeUp .5s ease both;
    transition: background .2s ease;
    cursor: default;
}

.np-pt-name { font-size: .78rem; font-weight: 700; color: #0d2238; }

.np-pt-time {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
    padding: .18rem .4rem;
    border-radius: 6px;
}

.np-t-early { background: rgba(16,185,129,0.10); color: #059669; }
.np-t-mid   { background: rgba(59,130,246,0.10);  color: #0d6efd; }
.np-t-late  { background: rgba(239,68,68,0.10);   color: #dc2626; }
.np-t-none  { background: transparent; color: #94a3b8; }

.np-pivot-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .74rem;
}

.np-pl-item { display: flex; align-items: center; gap: 5px; }
.np-pl-item i { font-size: .55rem; }

.np-pl-early { color: #059669; }
.np-pl-mid   { color: #0d6efd; }
.np-pl-late  { color: #dc2626; }
.np-pl-none  { color: #94a3b8; }

/* ── DETAIL SECTION ──────────────────────────────── */
.np-detail-section { padding-top: 20px; padding-bottom: 20px; }

/* ── DETAIL TABLE ────────────────────────────────── */
.np-detail-table { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }

.np-dt-head {
    display: grid;
    grid-template-columns: 100px 1.4fr 72px 72px 70px;
    gap: 10px;
    padding: 0 12px 5px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6a7a88;
}

.np-dt-row {
    display: grid;
    grid-template-columns: 100px 1.4fr 72px 72px 70px;
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    border-radius: 12px;
    background: #f8fbfe;
    font-size: .83rem;
    animation: npFadeUp .5s ease both;
    transition: background .2s ease;
}

.np-dt-row:hover { background: #f0f7ff; }

.np-plate-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .74rem; font-weight: 700; color: #0d2238;
    background: #f0f5fa; padding: .2rem .5rem; border-radius: 8px;
    white-space: nowrap;
}

.np-dt-person { font-size: .82rem; color: #29455d; font-weight: 500; }

.np-dt-time {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .76rem; color: #6a7a88;
}

.np-dt-dur {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 700; font-size: .8rem;
    text-align: right;
}

.np-dur-low  { color: #6a7a88; }
.np-dur-mid  { color: #0d6efd; }
.np-dur-high { color: #059669; }

.np-dt-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: .8rem; color: #29455d; line-height: 1.65;
}
.np-dt-note i { color: #0d6efd; flex-shrink: 0; margin-top: 1px; }
.np-dt-note p { margin: 0; }

/* ── WAIT DISTRIBUTION ───────────────────────────── */
.np-wait-dist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }

.np-wd-row { display: flex; flex-direction: column; gap: 4px; }
.np-wd-label { display: flex; align-items: center; gap: 6px; }

.np-wd-badge { font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.np-wdb-gray  { background: rgba(107,114,128,0.10); color: #4b5563; }
.np-wdb-blue  { background: rgba(13,110,253,0.10);  color: #0d6efd; }
.np-wdb-amber { background: rgba(245,158,11,0.10);  color: #d97706; }
.np-wdb-red   { background: rgba(239,68,68,0.10);   color: #dc2626; }

.np-wd-track { height: 8px; border-radius: 999px; background: #eef3f8; overflow: hidden; }

.np-wd-fill { height: 100%; border-radius: 999px; width: var(--w); animation: npBarGrow .9s ease both; }
.np-wdf-gray  { background: linear-gradient(90deg, #6b7280, #9ca3af); }
.np-wdf-blue  { background: linear-gradient(90deg, #0d6efd, #56a0ff); }
.np-wdf-amber { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.np-wdf-red   { background: linear-gradient(90deg, #ef4444, #f87171); }

.np-wd-count { font-size: .74rem; font-weight: 600; color: #6a7a88; align-self: flex-end; }

.np-wait-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: .8rem; color: #29455d;
}
.np-wait-avg i { color: #0d6efd; }
.np-wait-avg strong { color: #0d2238; }

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

.np-mc-green { background: rgba(16,185,129,0.06); border-color: rgba(16,185,129,0.14); }
.np-mc-green i { color: #10b981; }
.np-mc-blue  { background: rgba(13,110,253,0.05); border-color: rgba(13,110,253,0.10); }
.np-mc-blue i { color: #0d6efd; }
.np-mc-teal  { background: rgba(6,182,212,0.06);  border-color: rgba(6,182,212,0.12); }
.np-mc-teal i { color: #06b6d4; }

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

/* ── KEYFRAMES ───────────────────────────────────── */
@keyframes npPulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.08); opacity: .80; }
}
@keyframes npFloatSoft {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}
@keyframes npFloatCardA {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-9px); }
}
@keyframes npFloatCardB {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}
@keyframes npFadeUp {
    0%   { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes npBarGrow {
    0%   { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); }
}
@keyframes npBarUp {
    0%   { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 991.98px) {
    .np-hero-stage { min-height: 480px; }
    .np-dash-window { top: 16px; left: 16px; right: 16px; }
    .np-float-a, .np-float-b { display: none; }
    .np-pt-head, .np-pt-row { grid-template-columns: 1.2fr repeat(3, .9fr); }
    .np-pt-row > :nth-child(5),
    .np-pt-row > :nth-child(6),
    .np-pt-head > :nth-child(5),
    .np-pt-head > :nth-child(6) { display: none; }
    .np-dt-head, .np-dt-row { grid-template-columns: 90px 1.2fr 65px 65px; }
    .np-dt-row > :last-child, .np-dt-head > :last-child { display: none; }
}

@media (max-width: 767.98px) {
    .np-tl-row { grid-template-columns: 36px 10px 1fr; }
    .np-tl-dur { display: none; }
    .np-pt-head, .np-pt-row { grid-template-columns: 1fr repeat(2, .9fr); }
    .np-pt-row > :nth-child(4),
    .np-pt-row > :nth-child(5),
    .np-pt-row > :nth-child(6) { display: none; }
    .np-dt-head, .np-dt-row { grid-template-columns: 85px 1fr 60px; }
    .np-dt-row > :nth-child(4) { display: none; }
}
