.cookie-banner {
    position: fixed;
    z-index: 9999;
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    color: #fff;
    background: #17202a;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
    font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: left;
}

.cookie-banner[hidden],
.cookie-settings[hidden] {
    display: none !important;
}

.cookie-banner p {
    margin: 0 0 12px;
}

.cookie-banner details {
    margin: 0 0 12px;
    color: #d8e0e7;
}

.cookie-banner summary {
    cursor: pointer;
    color: #fff;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-action {
    min-height: 42px;
    padding: 9px 16px;
    border: 2px solid #5bc0de;
    border-radius: 6px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cookie-accept {
    color: #17202a;
    background: #5bc0de;
}

.cookie-reject {
    color: #fff;
    background: transparent;
}

.cookie-settings {
    position: fixed;
    z-index: 9998;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    color: #fff;
    background: #17202a;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
    font: 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    cursor: pointer;
}

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

    .cookie-action {
        flex: 1 1 100%;
    }
}
