/* ==========================================================================
   Cookie lišta, stránka Ochrana osobních údajů, FAQ
   Barvy tlačítek přebírá z .btn-primary ve style.css
   ========================================================================== */

/* ---------- Cookie lišta ---------- */
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1080; /* nad Bootstrap modaly (1055) */
    max-width: 560px;
    background: #fff;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__inner {
    padding: 20px 22px;
}

.cookie-consent__title {
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0 0 6px;
}

.cookie-consent__text {
    margin: 0 0 14px;
}

.cookie-consent__text a {
    color: inherit;
    text-decoration: underline;
}

.cookie-consent__settings {
    margin: 0 0 14px;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.cookie-consent__option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 6px 0;
    cursor: pointer;
}

.cookie-consent__option input {
    margin-top: 4px;
    flex-shrink: 0;
}

.cookie-consent__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cookie-consent__buttons .btn-link {
    color: inherit;
    padding-left: 4px;
    padding-right: 4px;
}

@media (max-width: 575.98px) {
    .cookie-consent {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .cookie-consent__buttons .btn-primary,
    .cookie-consent__buttons .btn-outline-secondary {
        flex: 1 1 auto;
    }
}

/* ---------- Stránka GDPR ---------- */
.gdpr-page h1 {
    margin-bottom: 1rem;
}

.gdpr-page h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 100px;
}

.gdpr-page h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
}

.gdpr-page section {
    scroll-margin-top: 100px;
}

.gdpr-lead {
    font-size: 1.1rem;
}

.gdpr-meta {
    color: #777;
    font-size: 0.9rem;
}

.gdpr-toc {
    background: #f7f4f2;
    border-radius: 10px;
    padding: 16px 20px 6px;
    margin: 1.5rem 0;
}

.gdpr-toc ol {
    padding-left: 1.2rem;
}

.gdpr-box {
    background: #f7f4f2;
    border-radius: 10px;
    padding: 16px 20px;
}

.gdpr-table th,
.gdpr-table td {
    vertical-align: top;
    font-size: 0.95rem;
}

/* ---------- FAQ (homepage) ---------- */
.faq-section .accordion-button {
    font-weight: 600;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #f7f4f2;
    color: inherit;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}
