/* Muppaal Digital — Brand Stylesheet
   Brand Guide: Cormorant Garamond (Serif), Instrument Sans (Sans)
   Palette: Midnight Blue (#0B2A3C), Slate Blue (#4F6B7A), Copper (#C67A56 / #9A5B3F), Warm Neutral (#F7F4EF), Charcoal (#252B30)
*/

:root {
    --midnight: #0B2A3C;
    --slate: #4F6B7A;
    --copper: #C67A56;
    --copper-deep: #9A5B3F;
    --copper-hover: #b36a48;
    --neutral: #F7F4EF;
    --charcoal: #252B30;
    --line: #DDD6CB;
    --card: #FFFFFF;
    --muted: #5D666C;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate);
}

/* Tab Button Styling */
.tab-btn {
    background-color: #ffffff;
    color: var(--charcoal);
    border: 1px solid var(--line);
    transition: all 0.2s ease-in-out;
}

.tab-btn:hover {
    color: var(--midnight);
    border-color: var(--slate);
    background-color: var(--neutral);
}

.tab-btn.active {
    background-color: var(--midnight);
    color: #ffffff;
    border-color: var(--midnight);
    box-shadow: 0 4px 12px rgba(11, 42, 60, 0.2);
}

/* Smooth Tab Animations */
.tab-content {
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input Focus Ring Styling */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--copper) !important;
    box-shadow: 0 0 0 3px rgba(198, 122, 86, 0.18) !important;
}

/* Muppaal Framework Graphic Styling */
.framework-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.framework-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(11, 42, 60, 0.15);
}

/* Donut Chart Navigator Styling */
.sector-group {
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 270px 270px;
}

.sector-group:hover path.sector-slice {
    filter: brightness(1.18);
}

.sector-group.active-sector path.sector-slice {
    stroke: #FFFFFF;
    stroke-width: 4px;
    filter: drop-shadow(0 0 14px rgba(0,0,0,0.4)) brightness(1.12);
}

.pillar-panel {
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
