/**
 * Disposeo Tabs Switch Widget Styles
 */

/* ==========================================
   CONTAINER
   ========================================== */

.disposeo-tabs-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 16px;
    font-family: 'Poppins', sans-serif;
}

/* ==========================================
   TABS COLUMN
   ========================================== */

.disposeo-tabs-switch .tabs-switch-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

/* ==========================================
   SINGLE TAB
   ========================================== */

.disposeo-tabs-switch .tabs-switch-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 16px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.disposeo-tabs-switch .tabs-switch-tab.is-active {
    background-color: #F9F5F1;
}

.disposeo-tabs-switch .tabs-switch-tab-label {
    font-size: 16px;
    font-weight: 400;
    color: #140003;
    line-height: normal;
    white-space: nowrap;
}

/* ==========================================
   TAB ARROW
   ========================================== */

.disposeo-tabs-switch .tabs-switch-tab-arrow {
    width: 26px;
    height: 15px;
    color: #E75A0D;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.disposeo-tabs-switch .tabs-switch-tab:hover .tabs-switch-tab-arrow {
    transform: translateX(4px);
}

/* ==========================================
   PANELS CONTAINER
   ========================================== */

.disposeo-tabs-switch .tabs-switch-panels {
    position: relative;
    flex-shrink: 0;
    flex-grow: 1;
}

/* ==========================================
   SINGLE PANEL
   ========================================== */

.disposeo-tabs-switch .tabs-switch-panel {
    background-color: #F9F5F1;
    border-radius: 16px;
    padding: 16px 24px 16px 16px;
    min-width: 209px;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease;
}

.disposeo-tabs-switch .tabs-switch-panel.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* ==========================================
   PANEL CONTENT
   ========================================== */

.disposeo-tabs-switch .tabs-switch-panel-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================
   LINK ITEMS
   ========================================== */

.disposeo-tabs-switch .tabs-switch-item {
    font-size: 16px;
    font-weight: 400;
    color: #140003;
    text-decoration: none;
    line-height: normal;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.disposeo-tabs-switch .tabs-switch-item:hover {
    color: #E75A0D;
}

/* ==========================================
   ELEMENTOR EDITOR
   ========================================== */

.elementor-editor-active .disposeo-tabs-switch .tabs-switch-panel {
    position: relative;
    opacity: 1;
    visibility: visible;
    display: none;
}

.elementor-editor-active .disposeo-tabs-switch .tabs-switch-panel.is-active {
    display: block;
}
