/* Tab Navigation Styles */
.tabs-container {
    margin-bottom: 1.5rem;
}

.tabs-header {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.tab-button {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
    height: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-button:hover {
    color: var(--foreground);
    background-color: var(--secondary);
    opacity: 1;
}

.tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.tab-button:hover .dropdown-icon {
    transform: translateY(2px);
}

.tab-dropdown {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--foreground);
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background-color: var(--secondary);
}

.dropdown-item.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 500;
}

.current-filter {
    padding: 1rem;
    background-color: var(--muted);
    /* border-radius: var(--radius); */
    border-left: 4px solid var(--primary);
}

/* Mobile responsiveness for tabs and table */
@media (max-width: 768px) {
    .tabs-header {
        flex-direction: column;
        gap: 0;
    }

    .tab-button {
        border-bottom: 1px solid var(--border);
        justify-content: space-between;
        width: 100%;
    }

}

@media (max-width: 640px) {


    .tab-button {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    .dropdown-item {
        font-size: 0.8125rem;
        padding: 0.625rem 1rem;
    }
}

.header_part {
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    #usage-chart,
    #dropout-chart {
        height: 450px !important;
    }


}

@media (max-width: 640px) {

}

.stat-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    #comparison-chart {
        height: 500px !important;
    }

    #digital-barriers-chart {
        height: 450px !important;
    }

}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: background-color 0.2s;
}

.section-header:hover {
    background-color: #e8e8e8;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.chevron {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.chevron.collapsed {
    transform: rotate(-90deg);
}

.section-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.section-content.collapsed {
    max-height: 0;
    opacity: 0;
}




 .test-card-search-container {
        margin: 2rem 0;
    }

    .test-card {
        background-color: var(--card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1.5rem;
        margin: 2rem 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .test-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid var(--border);
    }

    .test-card-title-section {
        flex: 1;
    }

    .test-card-short {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .test-card-long {
        font-size: 0.9375rem;
        color: var(--muted-foreground);
        line-height: 1.5;
    }

    .test-card-close-btn {
        background-color: var(--destructive);
        color: white;
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.25rem;
        flex-shrink: 0;
        margin-left: 1rem;
        transition: background-color 0.2s;
    }

    .test-card-close-btn:hover {
        background-color: #dc2626;
        opacity: 1;
    }

    .test-card-stats {
        display: grid;
        gap: 1.5rem;
    }

    .stat-section {
        background-color: var(--muted);
        padding: 1rem;
        border-radius: var(--radius);
        border-left: 4px solid var(--primary);
        /* margin:1rem 0; */
    }

    .stat-section-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--foreground);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .stat-highlight {
        background-color: #4279BC;
        color: var(--primary-foreground);
        padding: 0.5rem 1rem;
        border-radius: var(--radius);
        font-size: 1.5rem;
        font-weight: 700;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .stat-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .stat-item {
        position: relative;
        background-color: var(--background);
        padding: 0.75rem;
        border-radius: var(--radius);
        border: 1px solid var(--border);
    }

    .stat-label {
        font-size: 0.8125rem;
        color: var(--muted-foreground);
        margin-bottom: 0.25rem;
    }

    .stat-value {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--foreground);
    }

    .chart-container {
        width: 100%;
        height: 300px;
        margin-top: 1rem;
    }

    @media (max-width: 768px) {
        .test-card {
            padding: 1rem;
        }

        .test-card-header {
            flex-direction: column;
        }

        .test-card-close-btn {
            margin-left: 0;
            margin-top: 1rem;
            align-self: flex-end;
        }

        .test-card-short {
            font-size: 1.25rem;
        }

        .stat-grid {
            grid-template-columns: 1fr;
        }
    }

.section_div{
    margin-bottom: 1rem;
}



/* FAQ Styles */
.faq-container {
    margin: 2rem 0;
}

.faq-intro {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--muted);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 0.75rem;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem 1rem;
    background-color: #f9f9f9;
    border-radius: 6px;
    transition: background-color 0.2s;
    border: 1px solid var(--border);
}

.faq-header:hover {
    background-color: #eeeeee;
}

.faq-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    padding-right: 1rem;
    line-height: 1.4;
    color: var(--foreground);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--muted-foreground);
}

.faq-chevron.collapsed {
    transform: rotate(-90deg);
}

.faq-content {
    overflow: hidden;
    max-height: 1000px;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 1;
}

.faq-content.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0;
}

.faq-body {
    padding: 1rem 1.25rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 6px 6px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-body p {
    margin-bottom: 1rem;
}

.faq-body p:last-child {
    margin-bottom: 0;
}

/* Mobile Anpassungen für FAQ */
@media (max-width: 768px) {
    .faq-header {
        padding: 0.625rem 0.875rem;
    }

    .faq-title {
        font-size: 0.9375rem;
    }

    .faq-chevron {
        width: 18px;
        height: 18px;
    }

    .faq-body {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .faq-intro {
        font-size: 0.875rem;
        padding: 0.875rem;
    }

    .faq-title {
        font-size: 0.875rem;
    }

    .faq-body {
        font-size: 0.8125rem;
    }
}


.link_btn{
    color: #4279BC;
    padding: 0;
    border: none;
    text-decoration:underline;
}


