.ist-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.ist-section-sub {
    color: #64748b;
    font-size: 0.95rem;
}

.ist-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.ist-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ist-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ist-card--baraj .ist-card__icon { background: #f0f9ff; color: #0ea5e9; }
.ist-card--ph .ist-card__icon    { background: #f0fdfa; color: #14b8a6; }
.ist-card--abone .ist-card__icon { background: #fff1f2; color: #9f1239; }

.ist-card__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
}

.ist-card__date {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.1rem;
}

.ist-gauge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.ist-gauge {
    position: relative;
    width: 140px;
    height: 140px;
}

.ist-gauge svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.ist-gauge__bg {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 8;
}

/* 2 * pi * 54 â matches former Razor circumference.ToString("0.##", InvariantCulture) */
.ist-gauge__fill {
    fill: none;
    stroke: #0ea5e9;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.29;
    stroke-dashoffset: 339.29;
    transition: stroke-dashoffset 1.5s ease-out;
}

.ist-gauge__text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ist-gauge__value {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.ist-gauge__unit {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 4px;
}

.ist-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0 0;
    border-top: 1px dashed #e2e8f0;
}

.ist-detail-label {
    font-size: 0.85rem;
    color: #64748b;
}

.ist-detail-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.ist-ph-display {
    text-align: center;
    margin-bottom: 1.25rem;
}

.ist-ph-big {
    font-size: 2.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.ist-ph-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-top: 0.5rem;
}

.ph-ideal { background: #f0fdf4; color: #166534; }
.ph-ok    { background: #fefce8; color: #854d0e; }
.ph-warn  { background: #fef2f2; color: #991b1b; }

.ist-ph-control {
    margin: 1rem 0 0.5rem;
}

.ist-ph-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(90deg, #fca5a5 0%, #fcd34d 20%, #4ade80 40%, #4ade80 60%, #60a5fa 80%, #a78bfa 100%);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.ist-ph-slider::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 999px;
    background: transparent;
}

.ist-ph-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #14b8a6;
    border: 3px solid #fff;
    margin-top: -5px;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ist-ph-slider::-moz-range-track {
    height: 10px;
    border: none;
    border-radius: 999px;
    background: transparent;
}

.ist-ph-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #14b8a6;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ist-ph-slider:hover::-webkit-slider-thumb,
.ist-ph-slider:active::-webkit-slider-thumb,
.ist-ph-slider:hover::-moz-range-thumb,
.ist-ph-slider:active::-moz-range-thumb {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.45);
}

.ist-ph-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
}

.ist-ph-emoji {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.25rem;
    line-height: 1;
    text-align: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.ist-ph-emoji.is-visible {
    opacity: 1;
    transform: scale(1);
}

.ist-ph-emoji.is-angry {
    filter: saturate(1.2);
}

.ist-ph-emoji.is-worried {
    filter: saturate(1.05);
}

.ist-ph-emoji.is-near,
.ist-ph-emoji.is-happy {
    filter: none;
}

.ist-abone-big {
    text-align: center;
    padding: 2.5rem 0;
}

.ist-abone-number {
    font-size: 3.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.ist-abone-label {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 0.75rem;
}
