.cookie-consent-banner,
.cookie-preferences-panel,
.cookie-manage-link {
    font-family: inherit;
    z-index: 9999999;
}

.cookie-consent-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 460px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #d8e1e8;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(18, 44, 61, 0.16);
    display: none;
}

.cookie-consent-banner.is-visible {
    display: block;
}

.cookie-consent-title {
    margin: 0 0 10px;
    color: #122c3d;
    font-size: 22px;
    font-weight: 600;
}

.cookie-consent-copy {
    margin: 0;
    color: #4b5964;
    font-size: 15px;
    line-height: 1.6;
}

.cookie-consent-copy a {
    color: #097fb7;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cookie-consent-button {
    border: 1px solid #097fb7;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-consent-button.primary {
    background: #097fb7;
    color: #ffffff;
}

.cookie-consent-button.secondary {
    background: #ffffff;
    color: #097fb7;
}

.cookie-consent-button:hover {
    opacity: 0.92;
}

.cookie-preferences-panel {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 420px;
    max-width: calc(100% - 40px);
    padding: 24px;
    background: #ffffff;
    border: 1px solid #d8e1e8;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(18, 44, 61, 0.16);
    display: none;
}

.cookie-preferences-panel.is-visible {
    display: block;
}

.cookie-preferences-header {
    margin-bottom: 16px;
}

.cookie-preferences-header h4 {
    margin: 0 0 8px;
    color: #122c3d;
    font-size: 22px;
    font-weight: 600;
}

.cookie-preferences-header p {
    margin: 0;
    color: #4b5964;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-preference-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid #edf2f6;
}

.cookie-preference-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.cookie-preference-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #097fb7;
}

.cookie-preference-copy h5 {
    margin: 0 0 4px;
    color: #122c3d;
    font-size: 16px;
    font-weight: 600;
}

.cookie-preference-copy p {
    margin: 0;
    color: #4b5964;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-preference-copy span {
    display: inline-block;
    margin-top: 6px;
    color: #097fb7;
    font-size: 12px;
    font-weight: 600;
}

.cookie-preferences-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cookie-manage-link {
    position: fixed;
    right: 20px;
    bottom: 20px;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    background: #122c3d;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(18, 44, 61, 0.18);
    display: none;
}

.cookie-manage-link.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cookie-manage-link:hover {
    background: #0d2230;
}

.cookie-manage-link:focus {
    outline: none;
    box-shadow: 0 10px 25px rgba(18, 44, 61, 0.18), 0 0 0 3px rgba(9, 127, 183, 0.22);
}

.cookie-manage-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media only screen and (max-width: 767px) {
    .cookie-consent-banner,
    .cookie-preferences-panel {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        padding: 18px;
    }

    .cookie-preferences-panel {
        right: 12px;
    }

    .cookie-consent-actions,
    .cookie-preferences-actions {
        flex-direction: column;
    }

    .cookie-consent-button {
        width: 100%;
    }

    .cookie-manage-link {
        right: 12px;
        bottom: 78px;
    }
}
