/* ----------------------------------------------------------- Sondaże */
/* Sondaże OGB dla Stan360 - v1.0 */
.sondaze-ogb-wrapper {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.sondaze-ogb-wrapper::before,
.sondaze-ogb-wrapper::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}
.sondaze-ogb-wrapper::before {
    top: -150px;
    left: -150px;
}
.sondaze-ogb-wrapper::after {
    bottom: -150px;
    right: -150px;
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.1) 0%, rgba(245, 197, 66, 0) 100%);
}
.sondaze-ogb-header {
    text-align: center;
    position: relative;
    z-index: 1;
}
.sondaze-ogb-title {
    font-size: 42px;
    font-weight: 600;
    color: #243A6B;
    margin: 80px auto 40px auto;
    max-width: 1400px;
    text-align: left;
    letter-spacing: -0.5px;
}
.sondaze-ogb-nav {
    background: var(--blue15);
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}
.sondaze-ogb-main-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.sondaze-tab-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--tab-color);
    color: white;
    position: relative;
    overflow: hidden;
}
.sondaze-tab-btn.active,
.sondaze-tab-btn:hover {
    transform: translateY(-2px);
}
.sondaze-tab-btn.active:before,
.sondaze-tab-btn:hover:before {
    content: '';
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}
.sondaze-ogb-sub-tabs {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
.sub-tabs-content {
    display: none;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.sub-tabs-content.active {
    display: flex;
}
.sub-tab-btn {
    padding: 10px 24px;
    background: #243A6B;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.7;
}
.sub-tab-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.sub-tab-btn.active {
    opacity: 1;
    background: var(--basicblue);
    box-shadow: 0 2px 8px rgba(36, 58, 107, 0.3);
}
.sondaze-ogb-content {
    padding: 50px 20px 80px;
    position: relative;
    z-index: 1;
    min-height: 500px;
}
.sondaz-panel {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease;
}
.sondaz-panel.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.sondaz-question {
    background: #25467E;
    color: var(--white);
    padding: 22px 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(36, 58, 107, 0.2);
}
.sondaz-question p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}
.sondaz-chart {
    max-width: 550px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
}
.chart-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    min-height: 48px;
}
.chart-row:last-child {
    margin-bottom: 0;
}
.chart-logo {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.chart-logo img {
    max-height: 36px;
    max-width: 100%;
    object-fit: contain;
}
.chart-bar-wrapper {
    flex: 1;
    height: 42px;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.chart-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.chart-percent {
    width: 50px;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}
/* Responsive */
@media (max-width: 768px) {
    .sondaze-ogb-title {
        font-size: 32px;
    }
    .sondaze-ogb-main-tabs {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }    
    .sondaze-tab-btn {
        font-size: 16px;
        padding: 12px 24px;
    }    
    .sondaz-question {
        padding: 18px 24px;
    }    
    .sondaz-question p {
        font-size: 16px;
    }    
    .sondaz-chart {
        padding: 20px 15px;
    }    
    .chart-logo {
        width: 60px;
    }
    .chart-logo img {
        max-height: 28px;
    }
    .chart-bar-wrapper {
        height: 36px;
    }
    .chart-percent {
        font-size: 18px;
        width: 45px;
    }
}

@media (max-width: 480px) {
    .sondaze-ogb-header {
        padding: 40px 15px 30px;
    }
    .sondaze-ogb-title {
        font-size: 26px;
    }
    .chart-row {
        gap: 10px;
    }
    .chart-logo {
        width: 50px;
    }
}