/* Poprawki dla logo i stopki - FW Group */

/* Poprawki dla logo w nawigacji - tylko zwiększenie rozmiaru */
.logo img {
    height: 60px !important; /* Zwiększenie rozmiaru logo */
    width: auto;
    transition: all 0.3s ease;
}

/* Hover effect dla logo */
.logo:hover img {
    transform: scale(1.05);
}

/* Logo w hero section - główne poprawki */
.company-logo img {
    height: 160px !important; /* Zwiększenie z 140px */
    width: auto;
    filter: drop-shadow(0 6px 12px rgba(255,255,255,0.4)); /* Jasny cień pod logo */
    margin-bottom: 25px;
}

/* Alternatywne opcje cienia dla logo w hero section */
.company-logo-soft-shadow img {
    filter: drop-shadow(0 8px 16px rgba(255,255,255,0.3)); /* Jeszcze delikatniejszy jasny cień */
}

.company-logo-bright-shadow img {
    filter: drop-shadow(0 4px 8px rgba(255,255,255,0.6)); /* Jaśniejszy cień */
}

/* Poprawki dla stopki - lepszy kontrast dla copyright */
.footer-bottom {
    background: rgba(0,0,0,0.2) !important; /* Jeszcze subtelniejsze tło */
    border-top: 1px solid #555555;
    padding: 25px 0;
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    color: #f8f9fa !important; /* Jeszcze jaśniejszy tekst */
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
}

/* Alternatywne rozwiązanie - całkowite usunięcie ciemnego tła */
.footer-bottom-light {
    background: transparent !important;
    border-top: 1px solid #444444;
    padding: 25px 0;
}

.footer-bottom-light p {
    color: #e9ecef !important; /* Jaśniejszy kolor dla lepszego kontrastu */
}

/* Dodatkowe poprawki dla lepszej widoczności logo na różnych tłach */
@media (max-width: 768px) {
    .logo img {
        height: 50px !important;
    }
    
    .company-logo img {
        height: 120px !important; /* Zwiększone z 100px */
        filter: drop-shadow(0 4px 8px rgba(255,255,255,0.4)); /* Jasny cień na mobile */
    }
}

/* Jeśli logo ma brązowy kolor i nadal się wtapia, można spróbować zmiany koloru */
.logo-enhanced img {
    filter: 
        contrast(1.2)
        saturate(1.1);
}

/* Opcja z białym obramowaniem dla logo */
.logo-with-border img {
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 4px;
    padding: 4px;
    background: rgba(255,255,255,0.1);
}

/* Opcjonalne rozwiązanie - użycie białego logo w nawigacji */
.use-white-logo .logo img {
    content: url('../img/logowb.png'); /* Przełączenie na białe logo */
    height: 60px !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Jeśli chcesz użyć białego logo, dodaj klasę 'use-white-logo' do elementu nav */
/* Przykład: <nav class="main-navigation use-white-logo"> */

/* Dodatkowe style dla lepszego kontrastu logo */
.logo-high-contrast {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.logo-high-contrast img {
    height: 55px !important;
}

/* Style dla różnych wariantów stopki */
.footer-minimal-contrast .footer-bottom {
    background: rgba(255,255,255,0.05) !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-minimal-contrast .footer-bottom p {
    color: #ffffff !important;
    opacity: 0.8;
}

/* Ukrycie breadcrumb navigation na stronie głównej */
.breadcrumb-nav {
    display: none !important;
}

/* Jeśli chcesz pokazać breadcrumb tylko na podstronach, użyj tej klasy na body podstron */
.show-breadcrumb .breadcrumb-nav {
    display: block !important;
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.show-breadcrumb .breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.show-breadcrumb .breadcrumb-item {
    font-size: 14px;
    color: #6c757d;
}

.show-breadcrumb .breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.show-breadcrumb .breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.show-breadcrumb .breadcrumb-item.active {
    color: #6c757d;
}
/* Poprawki dla checkbox RODO - przywrócenie widoczności */
.checkbox-group {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 2rem !important;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #555 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    margin-top: 0.1rem !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    position: relative !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
}

/* Alternatywny styl dla custom checkbox */
.custom-checkbox-style .checkbox-label {
    position: relative;
    padding-left: 30px;
}

.custom-checkbox-style .checkbox-label input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    opacity: 0;
}

.custom-checkbox-style .checkbox-label .checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-checkbox-style .checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
}

.custom-checkbox-style .checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Focus styles dla accessibility */
.checkbox-label input[type="checkbox"]:focus {
    outline: 2px solid #2c5aa0 !important;
    outline-offset: 2px !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .checkbox-label {
        font-size: 0.85rem !important;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 16px !important;
        height: 16px !important;
    }
}
/* Dodatkowe poprawki dla checkbox - upewnienie się że jest widoczny */
.checkbox-label input[type="checkbox"] {
    z-index: 1 !important;
    position: relative !important;
    display: inline-block !important;
    visibility: visible !important;
    background: white !important;
    border: 1px solid #ccc !important;
}

/* Debug - tymczasowy czerwony border żeby zobaczyć gdzie jest checkbox */
.debug-checkbox .checkbox-label input[type="checkbox"] {
    border: 3px solid red !important;
    background: yellow !important;
}
/* Poprawka dla custom checkbox z checkmark span */
.checkbox-label {
    position: relative !important;
    padding-left: 35px !important;
    cursor: pointer !important;
    display: block !important;
    line-height: 1.5 !important;
    color: #555 !important;
}

.checkbox-label input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
}

.checkbox-label .checkmark {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 20px !important;
    width: 20px !important;
    background-color: #fff !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.checkbox-label:hover input[type="checkbox"] ~ .checkmark {
    border-color: #2c5aa0 !important;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background-color: #2c5aa0 !important;
    border-color: #2c5aa0 !important;
}

.checkbox-label .checkmark:after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark:after {
    display: block !important;
}

.checkbox-label .checkmark:after {
    left: 6px !important;
    top: 2px !important;
    width: 6px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

/* Focus state dla accessibility */
.checkbox-label input[type="checkbox"]:focus ~ .checkmark {
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.3) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .checkbox-label {
        padding-left: 30px !important;
        font-size: 0.9rem !important;
    }
    
    .checkbox-label .checkmark {
        height: 18px !important;
        width: 18px !important;
    }
    
    .checkbox-label .checkmark:after {
        left: 5px !important;
        top: 1px !important;
        width: 5px !important;
        height: 9px !important;
    }
}