.dm-tabs-widget {
}

.dm-tabs-buttons{
    display: flex;
        justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Prevents wrapping of buttons */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    scrollbar-width: thin;
}

.dm-tab-button {
    font-size: 1rem;
    padding: 15px 40px;
    border: 1px solid #ddd;
    font-weight: 700;
    border-radius: 100px;
    cursor: pointer;
    background-color: var(--tab-bg-color, #ffffff); /* Default to white if not set */
    transition: background-color 0.3s, color 0.3s;
    border-color: var(--active-tab-bg-color, #8CB945);
    margin-left:8px;
}

@media (max-width: 768px) { 
    .dm-tab-button {
        font-size: 0.875rem; 
        padding: 10px 30px; 
    }
}

.dm-tab-button.active {
    background-color: var(--active-tab-bg-color, #6aa84f); /* Default to green if not set */
    color: #fff;
    border-color: var(--active-tab-bg-color, #8CB945);
}

.dm-tabs-content .dm-tab-content {
    display: none;
        padding: 20px;

}

.dm-tabs-content .dm-tab-content.active {
    display: block;
}
