﻿.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 430px;
    width: calc(100% - 32px);
    background: #ffffff;
    color: #1c1c1c;
    border: 1px solid #139ac8;
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
    font-family: Scout, "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
    z-index: 9999;
}

.cookie-consent-banner.is-hidden {
    display: none;
}

.cookie-consent-banner__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0a3049;
}

.cookie-consent-banner__text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.cookie-consent-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.cookie-consent-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.cookie-consent-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #139ac8;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-button {
    background: #139ac8;
    border: 1px solid #139ac8;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-button:hover {
    background: #0d7aa5;
}

.cookie-button--secondary {
    background: #f7f9fb;
    color: #0a3049;
}

.cookie-button--secondary:hover {
    background: #e1eef6;
}

.cookie-button--link {
    background: transparent;
    border: none;
    color: #139ac8;
    padding: 0;
    font-weight: 500;
}

.cookie-button--link:hover {
    color: #0d7aa5;
}

.cookie-button--primary {
    width: 100%;
    font-size: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #15a3d8, #0c7fb0);
    box-shadow: 0 6px 18px rgba(19, 154, 200, 0.35);
}

.cookie-button--primary:hover {
    background: linear-gradient(135deg, #0f92c5, #0a6f98);
}

.cookie-consent-actions--primary {
    width: 100%;
    margin-top: 12px;
    justify-content: center;
}

.cookie-consent-actions--secondary {
    width: 100%;
    justify-content: space-between;
}

.cookie-consent-actions--secondary .cookie-button {
    flex: 1 1 calc(50% - 5px);
}

@media (max-width: 420px) {
    .cookie-consent-actions--secondary .cookie-button {
        flex-basis: 100%;
    }
}

.cookie-consent-banner__links {
    margin-top: 10px;
    font-size: 12px;
    text-align: right;
}

.cookie-consent-banner__links a {
    color: #139ac8;
    text-decoration: none;
}

.cookie-consent-banner__links a:hover {
    text-decoration: underline;
}


.cookie-settings-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #f3f7fa;
    border: 1px solid #139ac8;
    color: #0a3049;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    z-index: 9998;
}

.cookie-settings-trigger.is-hidden {
    display: none;
}

.consent-gate {
    position: relative;
    margin-bottom: 18px;
}

.consent-gate__content {
    width: 100%;
}

.consent-gate__placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #139ac8;
    border-radius: 12px;
    color: #0a3049;
}

.consent-gate__placeholder .cookie-consent-actions {
    justify-content: center;
}

.consent-gate--blocked .consent-gate__content {
    display: none;
}

.consent-gate--blocked .consent-gate__placeholder {
    display: flex;
}

.consent-gate__placeholder--map {
    min-height: 320px;
}

.consent-gate__placeholder--compact {
    padding: 16px;
    gap: 8px;
}

.consent-gate__placeholder p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .cookie-consent-banner {
        bottom: 16px;
        padding: 16px 18px;
    }

    .cookie-settings-trigger {
        right: 16px;
        bottom: 16px;
    }
}


