:root {
--lw-cookie-primary: #2271b1;
--lw-cookie-text: #1d2327;
--lw-cookie-bg: #ffffff;
--lw-cookie-radius: 4px;
--lw-cookie-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
} .lw-cookie-notice {
position: fixed;
left: 0;
right: 0;
z-index: 999999;
background: var(--lw-cookie-bg);
color: var(--lw-cookie-text);
box-shadow: var(--lw-cookie-shadow);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 14px;
line-height: 1.5;
} .lw-cookie-pos-bottom {
bottom: 0;
}
.lw-cookie-pos-top {
top: 0;
}
.lw-cookie-pos-modal {
top: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.5);
} .lw-cookie-layout-box {
max-width: 400px;
margin: 20px;
border-radius: var(--lw-cookie-radius);
}
.lw-cookie-layout-box.lw-cookie-box-align-right {
left: auto;
right: 20px;
}
.lw-cookie-layout-box.lw-cookie-box-align-left {
left: 20px;
right: auto;
}
.lw-cookie-layout-box.lw-cookie-pos-bottom {
bottom: 0;
}
.lw-cookie-layout-box.lw-cookie-pos-top {
top: 0;
} .lw-cookie-notice-inner {
padding: 20px 24px;
}
@media (min-width: 768px) {
.lw-cookie-layout-bar .lw-cookie-notice-inner {
display: flex;
align-items: center;
gap: 24px;
max-width: 1200px;
margin: 0 auto;
}
} .lw-cookie-notice.lw-cookie-pos-modal.lw-cookie-layout-box {
left: 0;
right: 0;
max-width: none;
margin: 0;
border-radius: 0;
}
.lw-cookie-notice.lw-cookie-pos-modal .lw-cookie-notice-inner {
display: block;
max-width: 600px;
margin: 20px;
background: var(--lw-cookie-bg);
color: var(--lw-cookie-text);
box-shadow: var(--lw-cookie-shadow);
border-radius: var(--lw-cookie-radius);
}
.lw-cookie-notice.lw-cookie-pos-modal .lw-cookie-actions {
margin-top: 16px;
} .lw-cookie-content {
flex: 1;
}
.lw-cookie-title {
margin: 0 0 8px;
font-size: 18px;
font-weight: 600;
color: var(--lw-cookie-text);
}
.lw-cookie-message {
margin: 0;
color: var(--lw-cookie-text);
opacity: 0.85;
}
.lw-cookie-message a {
color: var(--lw-cookie-primary);
text-decoration: underline;
} .lw-cookie-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 16px;
}
@media (min-width: 768px) {
.lw-cookie-layout-bar .lw-cookie-actions {
margin-top: 0;
flex-shrink: 0;
}
} .lw-cookie-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
line-height: 1;
text-decoration: none;
border: 2px solid transparent;
border-radius: var(--lw-cookie-radius);
cursor: pointer;
transition: all 0.2s ease;
}
.lw-cookie-btn-primary {
background: var(--lw-cookie-primary);
color: #fff;
border-color: var(--lw-cookie-primary);
}
.lw-cookie-btn-primary:hover {
opacity: 0.9;
}
.lw-cookie-btn-secondary {
background: transparent;
color: var(--lw-cookie-text);
border-color: var(--lw-cookie-text);
opacity: 0.7;
}
.lw-cookie-btn-secondary:hover {
opacity: 1;
}
.lw-cookie-btn-outline {
background: transparent;
color: var(--lw-cookie-primary);
border-color: var(--lw-cookie-primary);
}
.lw-cookie-btn-outline:hover {
background: var(--lw-cookie-primary);
color: #fff;
} .lw-cookie-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000000;
display: flex;
align-items: center;
justify-content: center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.lw-cookie-modal-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
}
.lw-cookie-modal-content {
position: relative;
width: 90%;
max-width: 500px;
max-height: 90vh;
overflow-y: auto;
background: var(--lw-cookie-bg);
border-radius: var(--lw-cookie-radius);
box-shadow: var(--lw-cookie-shadow);
padding: 24px;
}
.lw-cookie-modal-close {
position: absolute;
top: 12px;
right: 12px;
width: 32px;
height: 32px;
padding: 0;
background: transparent;
border: none;
font-size: 24px;
line-height: 1;
color: var(--lw-cookie-text);
opacity: 0.5;
cursor: pointer;
}
.lw-cookie-modal-close:hover {
opacity: 1;
}
.lw-cookie-modal-title {
margin: 0 0 20px;
font-size: 20px;
font-weight: 600;
color: var(--lw-cookie-text);
} .lw-cookie-categories {
margin-bottom: 20px;
}
.lw-cookie-category {
padding: 16px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.lw-cookie-category:last-child {
border-bottom: none;
}
.lw-cookie-category-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.lw-cookie-category-label {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
font-weight: 500;
}
.lw-cookie-category-label input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: var(--lw-cookie-primary);
}
.lw-cookie-category-label input[type="checkbox"]:disabled {
opacity: 0.6;
}
.lw-cookie-required {
font-size: 12px;
font-weight: normal;
opacity: 0.6;
}
.lw-cookie-category-desc {
margin: 8px 0 0 28px;
font-size: 13px;
color: var(--lw-cookie-text);
opacity: 0.75;
} .lw-cookie-category-details {
margin: 10px 0 0 28px;
font-size: 12px;
}
.lw-cookie-category-details > summary {
cursor: pointer;
color: var(--lw-cookie-primary);
padding: 4px 0;
user-select: none;
list-style: none;
}
.lw-cookie-category-details > summary::-webkit-details-marker {
display: none;
}
.lw-cookie-category-details > summary::before {
content: "▸";
display: inline-block;
margin-right: 6px;
transition: transform 0.15s ease;
}
.lw-cookie-category-details[open] > summary::before {
transform: rotate(90deg);
}
.lw-cookie-category-cookies {
width: 100%;
margin-top: 8px;
border-collapse: collapse;
font-size: 12px;
}
.lw-cookie-category-cookies th,
.lw-cookie-category-cookies td {
padding: 6px 8px;
text-align: left;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
vertical-align: top;
}
.lw-cookie-category-cookies th {
font-weight: 600;
opacity: 0.7;
text-transform: uppercase;
font-size: 11px;
letter-spacing: 0.03em;
}
.lw-cookie-category-cookies td code {
background: rgba(0, 0, 0, 0.05);
padding: 1px 5px;
border-radius: 2px;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px;
}
@media (max-width: 480px) {
.lw-cookie-category-cookies thead {
display: none;
}
.lw-cookie-category-cookies tr {
display: block;
margin-bottom: 10px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.lw-cookie-category-cookies td {
display: block;
border: none;
padding: 2px 0;
}
.lw-cookie-category-cookies td::before {
content: attr(data-label) ": ";
font-weight: 600;
opacity: 0.7;
margin-right: 4px;
}
} .lw-cookie-modal-actions {
display: flex;
justify-content: flex-end;
gap: 10px;
padding-top: 16px;
border-top: 1px solid rgba(0, 0, 0, 0.1);
} .lw-cookie-floating-btn {
position: fixed;
z-index: 999998;
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
padding: 0;
background: var(--lw-cookie-primary);
color: #fff;
border: none;
border-radius: 50%;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lw-cookie-floating-btn:hover {
transform: scale(1.1);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.lw-cookie-floating-btn svg {
width: 24px;
height: 24px;
display: block;
}
.lw-cookie-floating-bottom-left {
bottom: 20px;
left: 20px;
}
.lw-cookie-floating-bottom-right {
bottom: 20px;
right: 20px;
} @keyframes lw-cookie-slide-up {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes lw-cookie-slide-down {
from {
transform: translateY(-100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes lw-cookie-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.lw-cookie-pos-bottom:not(.lw-cookie-pos-modal) {
animation: lw-cookie-slide-up 0.3s ease;
}
.lw-cookie-pos-top {
animation: lw-cookie-slide-down 0.3s ease;
}
.lw-cookie-pos-modal,
.lw-cookie-modal {
animation: lw-cookie-fade-in 0.3s ease;
} .lw-cookie-notice.lw-cookie-hidden,
.lw-cookie-modal.lw-cookie-hidden,
.lw-cookie-floating-btn.lw-cookie-hidden {
display: none !important;
} .lw-cookie-notice:focus-within,
.lw-cookie-modal:focus-within {
outline: none;
}
.lw-cookie-btn:focus,
.lw-cookie-modal-close:focus,
.lw-cookie-floating-btn:focus {
outline: 2px solid var(--lw-cookie-primary);
outline-offset: 2px;
} .lw-cookie-blocked-content {
background: #1d2327;
display: flex;
align-items: center;
justify-content: center;
position: relative;
min-height: 200px;
}
.lw-cookie-blocked-inner {
text-align: center;
padding: 30px;
color: #fff;
}
.lw-cookie-blocked-inner .dashicons {
font-size: 48px;
width: 48px;
height: 48px;
opacity: 0.5;
margin-bottom: 15px;
}
.lw-cookie-blocked-inner p {
margin: 0 0 20px 0;
font-size: 14px;
opacity: 0.9;
}
.lw-cookie-load-content {
background: var(--lw-cookie-primary);
color: #fff;
border: none;
padding: 12px 24px;
font-size: 14px;
cursor: pointer;
border-radius: var(--lw-cookie-radius);
}
.lw-cookie-load-content:hover {
opacity: 0.9;
} @media print {
.lw-cookie-notice,
.lw-cookie-modal,
.lw-cookie-floating-btn {
display: none !important;
}
}