/* Główne wrappery */
.ogb-oceny-sytuacji-wrapper {
    width: 100%;
    margin: 40px 0;
    font-family: 'Museo Sans Rounded', sans-serif;
    position: relative;
}
.ogb-canvas-wrapper {
	max-width: 1400px;
	margin: 0 auto;
}
.ogb-canvas-wrapper canvas {
    font-family: 'Museo Sans Rounded', sans-serif;
}

/* Nagłówki */
.ogb-header-section {
    text-align: center;
    margin-bottom: 30px;
}
.ogb-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--darkblue, #24457E);
    margin-bottom: 15px;
}
.ogb-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--basicblue, #25467E);
    margin-bottom: 10px;
}
.ogb-question-box {
    display: inline-block;
    background-color: var(--darkblue, #24457E);
    color: var(--white, #ffffff);
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Słupki (Bar Chart) */
.ogb-bars-section {
    background-color: #fdfaf0; /* Jasny beż z tła na PDF/screenie */
    padding: 60px 40px 40px;
    border-radius: 8px;
    position: relative;
    margin-bottom: 20px;
}
.ogb-bars-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    height: 300px;
}
.ogb-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    height: 100%;
}
.ogb-bar-track {
    flex: 1;
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 15px;
}
.ogb-bar-fill {
    width: 100%;
    height: 0%;
    opacity: 0;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    transition: height 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.ogb-bar-val {
    color: var(--white, #fff);
    font-weight: 700;
    font-size: 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.ogb-bar-label {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--darkblue, #24457E);
    line-height: 1.2;
    min-height: 40px;
}

/* Wykres liniowy (Chart.js) */
.ogb-chart-section {
    background: var(--white, #ffffff);
    padding: 20px 40px 40px;
}
.ogb-canvas-wrapper {
    position: relative;
    height: 350px;
    width: 100%;
}

/* Owl Carousel Custom Controls */
.ogb-sytuacja-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
	left: 0;
    right: 0;
    margin: 0 auto;	
    width: 100%;
	max-width: 1400px;
    display: flex;
    justify-content: space-between;
    pointer-events: none; 
}
.ogb-sytuacja-carousel .owl-nav button.owl-prev,
.ogb-sytuacja-carousel .owl-nav button.owl-next {
    pointer-events: auto;
    background-color: var(--blue, #00B8EE) !important;
    color: var(--white, #fff) !important;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}
.ogb-sytuacja-carousel .owl-nav button.owl-prev:hover,
.ogb-sytuacja-carousel .owl-nav button.owl-next:hover {
    background-color: var(--navy, #45818E) !important;
}
.ogb-sytuacja-carousel .owl-nav svg {
    width: 24px;
    height: 24px;
}

/* Responsywność */
@media (max-width: 768px) {
    .ogb-bars-grid { gap: 10px; height: 250px; }
    .ogb-bar-item { width: 60px; }
    .ogb-bar-val { font-size: 14px; }
    .ogb-bar-label { font-size: 11px; }
    .ogb-title { font-size: 24px; }
    .ogb-sytuacja-carousel .owl-nav button.owl-prev,
    .ogb-sytuacja-carousel .owl-nav button.owl-next {
        margin: 0 10px;
    }
}





















/* OGB Oceny - zaktualizowane style */

.ogb-oceny-wrapper {
    width: 100%;
    margin: 40px 0;
    /* Rekomendowany nowoczesny font sans-serif */
    font-family: 'Montserrat', 'Inter', 'Helvetica Neue', sans-serif; 
}

.ogb-oceny-grid {
    display: grid;
    grid-template-columns: 1fr; /* Wymuszenie pojedynczej kolumny na pełną szerokość */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ogb-ocena-card {
    background: #fdf8e6; /* Kremowe tło z docelowego projektu */
    padding: 50px 30px 40px;
    border-radius: 0; 
    box-shadow: none; /* Usunięcie domyślnego cienia karty */
    position: relative;
}

.ogb-ocena-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1e3a6e;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.ogb-ocena-question {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 50px;
}

.ogb-ocena-question span {
    display: inline-block;
    background: #234279; /* Ciemny granat */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(35, 66, 121, 0.15); /* Delikatny, luksusowy cień */
}

/* Wykres */
.ogb-ocena-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center; /* Wyśrodkowanie słupków */
    gap: 25px; /* Odpowiedni dystans między słupkami */
    height: 300px;
    margin-bottom: 30px;
    padding: 0;
}

.ogb-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 115px; /* Sztywna szerokość - zapobiega rozciąganiu */
    flex: none; /* Nadpisuje oryginalne flex: 1 */
}

.ogb-bar-inner {
    position: relative;
    width: 100%;
    height: 240px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 15px;
}

.ogb-bar-fill {
    width: 100%;
    height: 0%;
    border-radius: 12px 12px 0 0; /* Zaokrąglony górny border kafelków */
    position: relative;
    transition: height 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px; /* Odsunięcie tekstu od dolnej krawędzi słupka */
    will-change: height;
}

/* Ukrycie nałożonego sztucznego gradientu */
.ogb-bar-fill::after {
    display: none; 
}

.ogb-bar-percent {
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    white-space: nowrap;
}

.ogb-bar-percent.inside {
    color: #fff;
    text-shadow: none; /* Usunięto przestarzały text-shadow */
}

.ogb-bar-percent.outside {
    position: absolute;
    bottom: 100%;
    margin-bottom: 10px;
    color: #1e3a6e;
}

.ogb-bar-label {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #1e3a6e;
    line-height: 1.3;
    max-width: 110px;
    min-height: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Stopka (opcjonalna modyfikacja, jeśli nie potrzebujesz logo pod spodem) */
.ogb-ocena-footer {
    display: none; /* Na docelowym screenie nie widać tej dolnej sekcji */
}

/* Responsywność */
@media (max-width: 768px) {
    .ogb-ocena-card {
        padding: 30px 15px;
    }
    
    .ogb-ocena-chart {
        gap: 10px;
        height: 250px;
    }

    .ogb-bar {
        width: 65px;
    }

    .ogb-bar-inner {
        height: 190px;
    }

    .ogb-bar-percent {
        font-size: 14px;
    }

    .ogb-bar-label {
        font-size: 11px;
    }
}