/* Custom CookieScript Styles - Industrial Theme */
/* Kolory dopasowane do motywu strony SANDC */

/* Banner główny - ciemny przemysłowy styl */
#cookiescript_injected {
    background: linear-gradient(135deg, #111318 0%, #1a1d24 100%) !important;
    border: 2px solid #d9001d !important;
    box-shadow: 0 8px 32px rgba(217, 0, 29, 0.3) !important;
    border-radius: 0 !important;
}

/* Nagłówek */
#cookiescript_header {
    color: #d9001d !important;
    font-family: 'Teko', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid rgba(217, 0, 29, 0.5) !important;
    padding-bottom: 10px !important;
}

/* Opis */
#cookiescript_description,
#cookiescript_description span {
    color: #d1d5db !important;
    font-family: 'Roboto Mono', monospace !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Link "Dowiedz się więcej" */
#cookiescript_readmore {
    color: #d9001d !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

#cookiescript_readmore:hover {
    color: #d1d5db !important;
    border-bottom-color: #d9001d !important;
}

/* Przyciski */
#cookiescript_accept,
#cookiescript_reject,
#cookiescript_save {
    background: #d9001d !important;
    color: #ffffff !important;
    font-family: 'Teko', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border: 2px solid #d9001d !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

#cookiescript_accept:hover {
    background: #111318 !important;
    color: #d9001d !important;
    border-color: #d9001d !important;
}

#cookiescript_reject {
    background: transparent !important;
    color: #d9001d !important;
    border: 2px solid #d9001d !important;
}

#cookiescript_reject:hover {
    background: #d9001d !important;
    color: #ffffff !important;
}

/* Przycisk zamknij (X) */
#cookiescript_close {
    color: #d9001d !important;
    font-size: 32px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

#cookiescript_close:hover {
    color: #d1d5db !important;
    transform: rotate(90deg) !important;
}

/* Przycisk "Pokaż szczegóły" */
#cookiescript_manage {
    color: #d9001d !important;
    font-family: 'Roboto Mono', monospace !important;
    transition: all 0.3s ease !important;
}

#cookiescript_manage:hover {
    color: #d1d5db !important;
}

.cookiescript_gear {
    fill: #d9001d !important;
}

/* Badge/Ikona Cookie w rogu */
#cookiescript_badge {
    background: linear-gradient(135deg, #111318 0%, #1a1d24 100%) !important;
    border: 2px solid #d9001d !important;
    box-shadow: 0 4px 16px rgba(217, 0, 29, 0.3) !important;
}

.cookiescriptlogo {
    fill: #d9001d !important;
}

#cookiescript_badgesvg {
    filter: drop-shadow(0 2px 4px rgba(217, 0, 29, 0.3)) !important;
}

/* === Full Screen Declaration (Szczegółowy widok cookie) === */

/* Wrapper główny */
#cookiescript_fsd_wrapper {
    background: linear-gradient(135deg, #111318 0%, #1a1d24 100%) !important;
    border: 2px solid #d9001d !important;
    color: #d1d5db !important;
}

/* Nagłówek */
.cookiescript_fsd_header {
    background: rgba(217, 0, 29, 0.1) !important;
    border-bottom: 2px solid #d9001d !important;
}

/* Główna sekcja info */
.cookiescript_fsd_main {
    background: #111318 !important;
}

.cookiescript_fsd_main_info {
    background: transparent !important;
}

/* Tytuł */
.cookiescript_fsd_title {
    color: #d9001d !important;
    font-family: 'Teko', sans-serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Opis */
.cookiescript_fsd_description,
.cookiescript_fsd_description span {
    color: #d1d5db !important;
    font-family: 'Roboto Mono', monospace !important;
}

/* Zakładki (tabs) */
.cookiescript_fsd_tabs {
    background: #1a1d24 !important;
    border-bottom: 2px solid rgba(217, 0, 29, 0.3) !important;
}

/* Treść zakładek */
.cookiescript_fsd_tabs_content {
    background: #111318 !important;
}

#cookiescript_declarationwrap {
    background: transparent !important;
}

.cookiescript_fsd_tabs > div {
    color: #d1d5db !important;
    font-family: 'Teko', sans-serif !important;
    font-weight: 500 !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

#cookiescript_declaration,
#cookiescript_aboutcookies {
    color: #d1d5db !important;
    background: transparent !important;
}

.cookiescript_fsd_tabs > div:hover,
#cookiescript_declaration:hover,
#cookiescript_aboutcookies:hover {
    color: #d9001d !important;
    background: rgba(217, 0, 29, 0.1) !important;
}

.cookiescript_fsd_tabs > div.cookiescript_active,
#cookiescript_declaration.cookiescript_active,
#cookiescript_aboutcookies.cookiescript_active {
    color: #d9001d !important;
    border-bottom-color: #d9001d !important;
    background: rgba(217, 0, 29, 0.15) !important;
}

/* Kategorie cookie */
.cookiescript_fsd_category {
    background: rgba(26, 29, 36, 0.5) !important;
    border: 1px solid rgba(217, 0, 29, 0.3) !important;
    border-radius: 0 !important;
}

.cookiescript_fsd__category_name {
    color: #d9001d !important;
    font-family: 'Teko', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.cookiescript_category_description {
    color: #d1d5db !important;
    font-family: 'Roboto Mono', monospace !important;
    font-size: 13px !important;
}

/* Przełączniki (switches) */
.mdc-switch__track {
    background: #1a1d24 !important;
    border: 1px solid #d9001d !important;
}

.mdc-switch--selected .mdc-switch__track {
    background: #d9001d !important;
}

.mdc-switch__handle {
    background: #d1d5db !important;
}

.mdc-switch--selected .mdc-switch__handle {
    background: #ffffff !important;
}

.mdc-switch__icon {
    fill: #d9001d !important;
}

/* Kontrolki rozwijania */
.cookiescript_fsd_cookies_control {
    color: #d9001d !important;
    font-family: 'Roboto Mono', monospace !important;
    transition: all 0.3s ease !important;
}

.cookiescript_fsd_cookies_control:hover {
    color: #d1d5db !important;
    background: rgba(217, 0, 29, 0.1) !important;
}

.cookiescript_fsd_cookies_control svg {
    fill: #d9001d !important;
}

/* Tabele cookie */
.cookiescript_fsd_cookies_table {
    background: #111318 !important;
    border: 1px solid rgba(217, 0, 29, 0.3) !important;
}

.cookiescript_fsd_cookies_table thead {
    background: #1a1d24 !important;
}

.cookiescript_fsd_cookies_table th {
    color: #d9001d !important;
    font-family: 'Teko', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #d9001d !important;
}

.cookiescript_fsd_cookies_table td {
    color: #d1d5db !important;
    font-family: 'Roboto Mono', monospace !important;
    font-size: 12px !important;
    border-bottom: 1px solid rgba(217, 0, 29, 0.2) !important;
}

.cookiescript_fsd_cookies_table tr:hover {
    background: rgba(217, 0, 29, 0.05) !important;
}

/* Linki vendor */
.cookiescript_vendor_name a {
    color: #d9001d !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.cookiescript_vendor_name a:hover {
    color: #d1d5db !important;
    text-decoration: underline !important;
}

/* Stopka */
.cookiescript_fsd_footer {
    background: #1a1d24 !important;
    border-top: 2px solid #d9001d !important;
}

/* Report by */
.cookiescript_fsd_reportby {
    color: #d1d5db !important;
    font-family: 'Roboto Mono', monospace !important;
    font-size: 11px !important;
}

.cookiescript_fsd_reportby a {
    color: #d9001d !important;
}

.cookiescript_fsd_reportby a:hover {
    color: #d1d5db !important;
}

/* Treść zakładki "O plikach cookie" */
#cookiescript_aboutwrap {
    color: #d1d5db !important;
    font-family: 'Roboto Mono', monospace !important;
    line-height: 1.6 !important;
}

/* Etykiety w trybie mobilnym (label attributes) */
.cookiescript_fsd_cookies_table td[label]::before {
    color: #d9001d !important;
    font-family: 'Teko', sans-serif !important;
    font-weight: 600 !important;
}

/* Responsywność */
@media (max-width: 768px) {
    #cookiescript_injected {
        border-width: 1px !important;
    }
    
    #cookiescript_header {
        font-size: 20px !important;
    }
    
    #cookiescript_description,
    #cookiescript_description span {
        font-size: 13px !important;
    }
    
    #cookiescript_fsd_wrapper {
        border-width: 1px !important;
    }
    
    .cookiescript_fsd_title {
        font-size: 22px !important;
    }
    
    .cookiescript_fsd_tabs > div {
        font-size: 14px !important;
    }
    
    /* Tabela w trybie mobilnym - dodatkowe kolory */
    .cookiescript_fsd_cookies_table tbody tr {
        background: #1a1d24 !important;
        border: 1px solid rgba(217, 0, 29, 0.3) !important;
    }
}

