/* CWP Tab 2 Column Styles */
.cwp-tabs-container {    
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Nawigacja zakładek */
.cwp-tabs-navigation {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    align-items: center;
}

.cwp-tabs-navigation::-webkit-scrollbar {
    display: none;
}

.cwp-tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
}

.cwp-tab-item:hover {
    color: #495057;
    background: #e9ecef;
    transform: translateY(-2px);
}

.cwp-tab-item.active {
    color: #7f31ff;
    background: #fff;
    border-bottom-color: #7f31ff;
    box-shadow: 0 -2px 8px rgba(127, 49, 255, 0.15);
}

.cwp-tab-icon {
    font-size: 18px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.cwp-tab-item.active .cwp-tab-icon {
    transform: scale(1.1);
}

.cwp-tab-text {
    font-weight: inherit;
}

/* Liczniki zakładek */
.cwp-tab-counter {
    background: linear-gradient(to bottom, #7f31ff 0%, #4279f1 100%);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

/* Zawartość zakładek */
.cwp-tabs-content {
    position: relative;
}

.cwp-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.cwp-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Layout dwukolumnowy */
.cwp-tab-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

/* Kolumna mediów */
.cwp-media-column {
    background: #f8f9fa;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e9ecef;
}

.cwp-media-placeholder {
    text-align: center;
    color: #6c757d;
}

.cwp-media-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.cwp-media-placeholder h3 {
    margin: 0 0 12px 0;
    color: #495057;
    font-size: 20px;
    font-weight: 600;
}

.cwp-media-placeholder p {
    margin: 0 0 24px 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Kolumna treści */
.cwp-content-column {
    background: #ffffff;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.cwp-content-placeholder {
    text-align: center;
    color: #6c757d;
    max-width: 400px;
}

.cwp-content-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.cwp-content-placeholder h3 {
    margin: 0 0 12px 0;
    color: #495057;
    font-size: 20px;
    font-weight: 600;
}

.cwp-content-placeholder p {
    margin: 0 0 24px 0;
    font-size: 14px;
    line-height: 1.5;
}

.cwp-content-text {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(127, 49, 255, 0.1);
}

.cwp-content-text p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

.cwp-content-text p:last-child {
    margin-bottom: 0;
}

/* Przycisk Load More */
.cwp-load-more {
    background: linear-gradient(to bottom, #7f31ff 0%, #4279f1 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 8px rgba(127, 49, 255, 0.2);
}

.cwp-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(127, 49, 255, 0.4);
}

/* Responsywność */
@media (max-width: 768px) {
    .cwp-tab-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cwp-media-column {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding: 30px 20px;
    }
    
    .cwp-content-column {
        padding: 30px 20px;
    }
    
    .cwp-tab-item {
        padding: 12px 16px;
        font-size: 13px;
        gap: 6px;
    }
    
    .cwp-tab-icon {
        font-size: 16px;
    }
    
    .cwp-tabs-container {
        margin: 0 10px;
        border-radius: 8px;
    }
    
    .cwp-tabs-navigation {
        justify-content: flex-start;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .cwp-tabs-navigation {
        flex-wrap: wrap;
    }
    
    .cwp-tab-item {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}
