.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    width: min(560px, calc(100vw - 32px));
    background: #ffffff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    box-shadow: 0 12px 28px #d8dde5;
    overflow: hidden;
}

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

.cookie-consent-tab {
    align-items: center;
    background: #212529;
    border: 1px solid #212529;
    border-radius: 8px 8px 0 0;
    bottom: 0;
    box-shadow: 0 -4px 14px #d8dde5;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    left: 24px;
    line-height: 1.2;
    min-height: 36px;
    padding: 9px 18px;
    position: fixed;
    z-index: 1040;
}

.cookie-consent-tab::before {
    background: #B1D235;
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 8px;
    margin-right: 8px;
    width: 8px;
}

.cookie-consent-tab:hover {
    background: #2b3035;
    border-color: #2b3035;
}

.cookie-consent-tab:focus-visible {
    outline: 3px solid #dceca3;
    outline-offset: 2px;
}

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

.cookie-consent__brand {
    align-items: center;
    background: #212529;
    display: flex;
    gap: 18px;
    padding: 16px 20px;
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: #212529;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.cookie-consent__logo {
    display: block;
    flex: 0 0 auto;
    width: 132px;
    height: auto;
}

.legal-brand__logo {
    display: block;
    width: 154px;
    height: auto;
}

.cookie-consent__title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.cookie-consent__body {
    padding: 20px;
}

.cookie-consent__text {
    color: #212529;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.cookie-consent__settings {
    border-top: 1px solid #e8edf2;
    margin-top: 14px;
    padding-top: 14px;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.cookie-consent .form-check-input {
    border-color: #95B11F;
    box-shadow: none;
}

.cookie-consent .form-check-input:checked {
    background-color: #B1D235;
    border-color: #95B11F;
}

.cookie-consent .form-check-input:focus {
    border-color: #95B11F;
    box-shadow: 0 0 0 0.2rem #dceca3;
}

.qr-cookie-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    min-height: 43px;
    padding: 10px 24px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.qr-cookie-btn:focus-visible {
    outline: 3px solid #dceca3;
    outline-offset: 2px;
}

.qr-cookie-btn--primary {
    background: #B1D235;
    border-color: #B1D235;
    color: #ffffff;
    font-weight: 600;
}

.qr-cookie-btn--primary:hover {
    background: #95B11F;
    border-color: #95B11F;
    color: #ffffff;
}

.qr-cookie-btn--secondary {
    background: #ffffff;
    border-color: #6c757d;
    color: #6c757d;
}

.qr-cookie-btn--secondary:hover {
    background: #f8f9fa;
    border-color: #212529;
    color: #212529;
}

.legal-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.9rem;
}

.legal-footer a {
    color: inherit;
}

.legal-page {
    max-width: 920px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 28px;
    background: #ffffff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    padding: 28px;
}

.legal-kicker {
    font-weight: 700;
    color: #95B11F;
    margin-bottom: 6px;
}

.legal-section {
    background: #ffffff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 16px;
}

.legal-section h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

@media (max-width: 576px) {
    .cookie-consent {
        right: 16px;
        bottom: 16px;
    }

    .cookie-consent-tab {
        left: 16px;
    }

    .cookie-consent__brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 14px 16px;
    }

    .cookie-consent__body {
        padding: 16px;
    }

    .cookie-consent__actions .qr-cookie-btn {
        width: 100%;
    }
}
