/*
 * Vlastní styly pro Silktide Cookie Consent Manager
 * Přizpůsobeno vzhledu webu Hyza.net
 */

#silktide-wrapper {
    --primaryColor: #21d4fd;
    --primaryGradient: linear-gradient(310deg, #2152ff 0%, #21d4fd 100%);
    --backgroundColor: #ffffff;
    --textColor: #67748e;
    --headingColor: #344767;
    --backdropBackgroundColor: rgba(0, 0, 0, 0.6);
    --focus: 0 0 0 2px #ffffff, 0 0 0 4px #21d4fd;
    font-family: 'Open Sans', sans-serif;
}

#silktide-banner,
#silktide-modal {
    border: none;
    box-shadow: 0 8px 26px -4px rgba(20, 20, 20, 0.15), 0 8px 9px -5px rgba(20, 20, 20, 0.06);
    border-radius: 1rem;
    max-width: 600px;
    background-color: #fff;
}

/* Hlavní tlačítko "Přijmout vše" */
#silktide-wrapper .st-button.st-button--primary {
    background-image: var(--primaryGradient);
    background-color: transparent;
    border: none;
    color: #ffffff;
    transition: all 0.3s ease;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.025rem;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

#silktide-wrapper .st-button.st-button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Sekundární tlačítka (Odmítnout, Nastavení) */
#silktide-wrapper .st-button.st-button--secondary,
#silktide-banner .preferences {
    background-color: transparent;
    color: var(--headingColor);
    border: 1px solid #d2d6da;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

#silktide-wrapper .st-button.st-button--secondary:hover,
#silktide-banner .preferences:hover {
    background-color: #f8f9fa;
    border-color: #b1b7c1;
    color: var(--headingColor);
}

/* Přepínače v modálním okně */
#silktide-modal .switch__pill {
    background-color: #e9ecef;
}

#silktide-modal .switch input:checked + .switch__pill {
    background-image: var(--primaryGradient);
}

/* Cookie Icon - ikona v rohu */
#silktide-cookie-icon {
    background-image: var(--primaryGradient);
    border: none;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 12px;
    width: 50px;
    height: 50px;
}

#silktide-cookie-icon svg {
    fill: #ffffff;
    transition: fill 0.3s ease;
    width: 24px;
    height: 24px;
}

#silktide-cookie-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Text ve zprávě */
#silktide-banner p,
#silktide-modal p,
#silktide-modal .cookie-type-description {
    color: var(--textColor);
    line-height: 1.5;
    font-size: 1rem;
}

#silktide-banner h2,
#silktide-modal h2,
#silktide-modal legend {
    color: var(--headingColor);
    font-weight: 700;
}

/* Zákaz interakce s iframem bez src atributu */
iframe:not([src]) {
    pointer-events: none;
}

/* Vzhled textu uvnitř přepínače */
#silktide-modal .switch__off {
    color: var(--headingColor);
}

#silktide-modal .switch__on {
    color: #fff;
}
