#ws-cookie-banner.ws-cookie-inherit {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: var(--ws-bg, inherit);
    color: var(--ws-text, inherit);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
}
#ws-cookie-banner.ws-cookie-inherit *,
#ws-cookie-modal * {
    box-sizing: border-box;
}
.ws-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ws-cookie-content p { margin: 6px 0 0; }
.ws-cookie-content a { color: var(--ws-link, inherit); text-decoration: underline; }
.ws-cookie-buttons { display:flex; gap:8px; flex-wrap:wrap; }
.ws-btn {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border-radius: inherit;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
}
.ws-btn-primary { background:var(--ws-primary, currentColor); color:#fff; }
.ws-btn-secondary { background:var(--ws-secondary, transparent); color:inherit; }
.ws-btn:hover { opacity:.88; }

.ws-cookie-modal[hidden] { display:none !important; }
.ws-cookie-modal { position:fixed; inset:0; z-index:100000; }
.ws-cookie-modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.6); }
.ws-cookie-modal-dialog {
    position:relative;
    max-width:560px;
    margin:8vh auto;
    background:var(--ws-modal-bg, #fff);
    color:var(--ws-modal-text, #222);
    padding:28px;
    border-radius:10px;
    box-shadow:0 15px 50px rgba(0,0,0,.3);
    font-family:inherit;
}
.ws-cookie-modal-close {
    position:absolute; right:12px; top:8px; border:0; background:none;
    font-size:28px; cursor:pointer;
}
.ws-cookie-option {
    display:flex; justify-content:space-between; align-items:center;
    gap:20px; padding:15px 0; border-bottom:1px solid #e5e5e5;
}
.ws-cookie-option small { display:block; margin-top:4px; opacity:.7; }
.ws-cookie-modal-actions { margin-top:20px; text-align:right; }

@media (max-width:768px) {
    .ws-cookie-content { flex-direction:column; text-align:center; }
    .ws-cookie-buttons { width:100%; justify-content:center; }
    .ws-cookie-buttons .ws-btn { flex:1; min-width:140px; }
    .ws-cookie-modal-dialog { margin:4vh 15px; }
}

#ws-cookie-banner.ws-cookie-appearance-inherit {
    background: inherit;
    color: inherit;
}
#ws-cookie-banner.ws-cookie-appearance-inherit .ws-btn-primary {
    background: currentColor;
    color: Canvas;
}
#ws-cookie-banner.ws-cookie-appearance-inherit .ws-btn-secondary {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}
