/* ==================================================================================================
* Project Name: TENDER
* File:         style_cookies.css
* Created:      2026-09-23
* Updated:      2026-09-23
* Author:       POLAS
* Error_log:    N/A - CSS soubor bez PHP logiky
=======================================================================================
* Vzhled cookie lišty vpravo dole (banner, přepínač kategorie, ikonka pro znovuotevření)
=======================================================================================
SEZNAM FUNKCÍ S KRÁTKÝMI POPISY

- bez vlastních funkcí - jen CSS pravidla pro modul cookie lišty
===================================================================================================== */

#cookie-consent-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 340px;
    max-width: calc(100vw - 40px);
    z-index: 4990;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

#cookie-consent-banner.cookie-consent-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #d2dce9;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 6px 24px rgba(5, 69, 117, 0.18);
    font-family: var(--main-font, 'Open Sans', sans-serif);
    padding: 16px 18px;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cookie-consent-header .bx {
    font-size: 1.2rem;
    color: var(--primary-base, #054575);
}

.cookie-consent-title {
    font-family: Inter-SemiBold, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #1f2f45;
    margin: 0;
}

.cookie-consent-text {
    font-size: 0.86rem;
    line-height: 1.4;
    color: #34445c;
    margin: 0 0 12px 0;
}

.cookie-consent-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.cookie-consent-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #f0f4fa;
}

.cookie-consent-option-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2b4f7a;
}

.cookie-consent-option-toggle {
    width: 34px;
    height: 18px;
    border-radius: 9px;
    background: var(--primary-base, #054575);
    position: relative;
    opacity: 0.55;
    cursor: not-allowed;
    flex: none;
}

.cookie-consent-option-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
}

.cookie-consent-actions {
    display: flex;
    justify-content: flex-end;
}

.cookie-consent-btn {
    min-height: 32px;
    padding: 0.34rem 0.9rem;
    border-radius: 6px;
    border: 1px solid #2a80c2;
    background: #2a80c2;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.1;
    font-family: var(--main-font, 'Open Sans', sans-serif);
    box-shadow: none;
}

.cookie-consent-btn:hover,
.cookie-consent-btn:focus {
    background: #226da7;
    border-color: #226da7;
    color: #ffffff;
}

#cookie-consent-reopen {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #d2dce9;
    background: #ffffff;
    color: var(--primary-base, #054575);
    box-shadow: 0 4px 14px rgba(5, 69, 117, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 4980;
    cursor: pointer;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

#cookie-consent-reopen.cookie-consent-visible {
    transform: scale(1);
    opacity: 1;
}

#cookie-consent-reopen:hover {
    background: #f0f4fa;
}
