/* assets/qualification-tabs-style.css */

.baq-qualification-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-family: sans-serif;
    margin-top: 2rem;
    margin-bottom: 50px;
}

.baq-tabs-nav {
    flex: 0 0 250px;
}

.baq-tabs-nav ul {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.baq-tab-item {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.baq-tab-item:last-child {
    border-bottom: none;
}

.baq-tab-item:hover {
    background-color: #f0f0f0;
}

.baq-tab-item.baq-active {
    background-color: #ffffff;
    font-weight: bold;
    color: #278567;
    border-left: 4px solid #278567;
    padding-left: calc(1rem - 4px);
}

.baq-tab-item .baq-tab-status::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

.baq-tab-item.baq-completed .baq-tab-status::after {
    content: '✔';
    color: #278567;
    font-weight: bold;
    font-size: 1.2rem;
}

.baq-tabs-content {
    flex: 1;
    min-width: 300px;
}

.baq-tab-pane {
    display: none;
}

.baq-tab-pane.baq-active {
    display: block;
}

.baq-pane-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    color: #333;
}

.baq-tab-item.baq-disabled {
    cursor: not-allowed;
    background-color: #f9f9f9;
    color: #999;
}

.baq-tab-item.baq-disabled:hover {
    background-color: #f9f9f9;
}

.baq-tab-item.baq-disabled .baq-tab-title {
    opacity: 0.6;
}



@media (max-width: 768px) {
    .baq-qualification-container {
        flex-direction: column;
    }
    .baq-tabs-nav {
        flex: 1 1 100%;
    }
}