/* =============================================================================
   layout/tabs.css - Tab Navigation and Panel Styles
   ============================================================================= */

.tab-navigation {
    display: flex;
    gap: 0;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-left: 8px;
}

.tab-btn:hover {
    color: #4f684a;
    background: rgba(140, 216, 90, 0.1);
}

.tab-btn.active {
    color: #585858;
    border-bottom-color: #585858;
    background: white;
}

/* Tab Content */
.tab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.tab-panel {
    display: none;
    flex: 1;
    padding: 0;
    margin: 0;
    min-height: 0;
    overflow: hidden;
}

.tab-panel.active {
    display: flex;
    flex-direction: column;
}

/* Sidebar Tabs */
.sidebar-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #799671;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    flex: 1;
}

.sidebar-tab-btn:hover {
    color: #53684a;
    background: rgba(111, 216, 90, 0.05);
}

.sidebar-tab-btn.active {
    color: #585858;
    border-bottom-color: #585858;
    background: rgba(126, 216, 90, 0.05);
}

.sidebar-tab-content {
    min-height: 400px;
}

.sidebar-tab-panel {
    display: none;
}

.sidebar-tab-panel.active {
    display: flex;
}