/* Doist Perks & Benefits - Main Styles */

/* Typography */
body {
    font-family: 'Inter', sans-serif;
}

/* Chart Component Styles */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    max-height: 400px;
}

@media (min-width: 768px) {
    .chart-container {
        height: 350px;
    }
}

/* Tab Navigation Styles */
.tab-active {
    border-color: #0ea5e9;
    color: #0ea5e9;
    font-weight: 600;
}

/* Content Prose Styles */
.prose h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.prose ul {
    list-style-position: inside;
    padding-left: 1em;
}

.prose li {
    margin-bottom: 0.5em;
}

/* Loading Animation */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #0ea5e9;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Interactive Elements */
.chart-filter-btn {
    transition: all 0.2s ease;
}

.chart-filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    transition: all 0.2s ease;
}

.tab-btn:hover {
    transform: translateY(-1px);
}

/* Card Hover Effects */
.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .chart-container {
        height: 250px;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .tab-btn span {
        font-size: 1.25rem;
    }
}
