/* ═══════════════════════════════════════════════════════════════════
   JoyT — Special Chakras (Kota Chakra & Sarvatobhadra Chakra)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Common ─────────────────────────────────────────────────────── */

.chakra-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.25rem 0 1rem;
    font-style: italic;
}

/* ═══ Kota Chakra ═══ */

.kota-chakra-svg-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.kota-chakra-svg {
    width: 260px;
    height: 260px;
    max-width: 100%;
}

.kota-zones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.kota-zone-card {
    padding: 0.75rem 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid;
    border-radius: 8px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.kota-zone-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.kota-zone-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.kota-zone-card__label {
    font-size: 0.82rem;
    font-weight: 700;
}

.kota-zone-card__planets {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.kota-zone-card__naks {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.kota-zone-card__desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ═══ Sarvatobhadra Chakra (9×9 Grid) ═══ */

.sbc-grid-wrap {
    overflow-x: auto;
    margin: 0.5rem 0;
}

.sbc-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sbc-cell {
    width: 11.11%;
    height: 0;
    padding-bottom: 11.11%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    vertical-align: middle;
    font-size: 0.6rem;
    color: var(--text-muted);
    transition: background 0.2s;
}

/* Override padding-bottom trick — use fixed height instead for better text placement */
.sbc-table td.sbc-cell {
    padding: 0.3rem 0.15rem;
    height: auto;
    padding-bottom: 0.3rem;
    line-height: 1.25;
}

.sbc-cell--nak {
    color: var(--text-secondary);
    font-weight: 500;
    font-family: var(--font-mono);
    font-size: 0.58rem;
}

.sbc-cell--sign {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.7rem;
    background: rgba(245, 189, 65, 0.05);
}

.sbc-cell--vowel {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.sbc-cell--day {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.06);
}

.sbc-cell--active {
    background: rgba(52, 199, 89, 0.12) !important;
    border-color: rgba(52, 199, 89, 0.4);
    color: var(--success);
    font-weight: 700;
}

.sbc-cell--janma {
    background: rgba(245, 189, 65, 0.15) !important;
    border-color: rgba(245, 189, 65, 0.5);
    box-shadow: inset 0 0 0 1px rgba(245, 189, 65, 0.3);
}

.sbc-planets {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--success);
    line-height: 1;
    margin-top: 1px;
}

/* ── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .kota-zones-grid {
        grid-template-columns: 1fr;
    }
    .kota-chakra-svg {
        width: 200px;
        height: 200px;
    }
    .sbc-table td.sbc-cell {
        font-size: 0.5rem;
        padding: 0.2rem 0.1rem;
    }
    .sbc-cell--sign {
        font-size: 0.55rem;
    }
}
