#cookie-consent-banner {
position: fixed;
z-index: 999999;
max-width: 400px;
width: 100%;
animation: slideInLeft 0.5s ease-out;
}
@keyframes slideInLeft {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.cookie-consent-content {
background-color: #ffffff;
border-radius: 6px;
padding: 24px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.cookie-consent-title {
font-size: 18px;
font-weight: 700;
color: #000000;
margin: 0 0 16px 0;
line-height: 1.4;
}
.cookie-consent-message {
font-size: 14px;
color: #000000;
margin: 0 0 20px 0;
line-height: 1.5;
}
.cookie-consent-buttons {
display: flex;
flex-direction: row;
gap: 10px;
flex-wrap: wrap;
}
.cookie-btn {
padding: 10px 20px;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
border: none;
font-family: inherit;
flex: 1;
min-width: 100px;
}
.cookie-btn-customise {
background-color: #ffffff;
color: #0066cc;
border: 1px solid #0066cc;
}
.cookie-btn-customise:hover {
background-color: #f0f7ff;
border-color: #0052a3;
}
.cookie-btn-reject {
background-color: #ffffff;
color: #0066cc;
border: 1px solid #0066cc;
}
.cookie-btn-reject:hover {
background-color: #f0f7ff;
border-color: #0052a3;
}
.cookie-btn-accept {
background-color: #0066cc;
color: #ffffff;
border: 1px solid #0066cc;
}
.cookie-btn-accept:hover {
background-color: #0052a3;
border-color: #0052a3;
} @media (max-width: 768px) {
#cookie-consent-banner {
max-width: none;
width: calc(100% - 20px);
}
#cookie-consent-banner[data-position="bottom-left"],
#cookie-consent-banner[data-position="bottom-right"] {
left: 10px !important;
right: 10px !important;
bottom: 10px !important;
}
#cookie-consent-banner[data-position="top-left"],
#cookie-consent-banner[data-position="top-right"] {
left: 10px !important;
right: 10px !important;
top: 10px !important;
}
.cookie-consent-buttons {
flex-direction: column;
}
.cookie-btn {
width: 100%;
}
}
@media (max-width: 480px) {
.cookie-consent-content {
padding: 20px;
}
.cookie-consent-title {
font-size: 16px;
}
.cookie-consent-message {
font-size: 13px;
}
} .cookie-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999999;
display: flex;
align-items: center;
justify-content: center;
}
.cookie-modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
}
.cookie-modal-content {
position: relative;
background-color: #ffffff;
border-radius: 8px;
max-width: 600px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
z-index: 1;
animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
.cookie-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid #e0e0e0;
}
.cookie-modal-header h3 {
margin: 0;
font-size: 20px;
font-weight: 700;
color: #000000;
}
.cookie-modal-close {
background: none;
border: none;
font-size: 28px;
color: #666;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transition: all 0.2s ease;
}
.cookie-modal-close:hover {
background-color: #f0f0f0;
color: #000;
}
.cookie-modal-body {
padding: 24px;
}
.cookie-categories {
display: flex;
flex-direction: column;
gap: 16px;
}
.cookie-category-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 16px;
border: 1px solid #e0e0e0;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
}
.cookie-category-item:hover {
border-color: #0066cc;
background-color: #f8f9fa;
}
.cookie-category-item input[type="checkbox"]:disabled {
cursor: not-allowed;
opacity: 0.6;
}
.cookie-category-item input[type="checkbox"]:disabled + .cookie-category-label {
opacity: 0.7;
}
.cookie-category-checkbox {
margin-top: 2px;
width: 18px;
height: 18px;
cursor: pointer;
flex-shrink: 0;
}
.cookie-category-label {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
}
.cookie-category-label strong {
font-size: 16px;
color: #000000;
font-weight: 600;
}
.cookie-category-label small {
font-size: 13px;
color: #666;
line-height: 1.4;
}
.cookie-modal-footer {
padding: 20px 24px;
border-top: 1px solid #e0e0e0;
display: flex;
justify-content: flex-end;
}
.cookie-modal-footer .cookie-btn {
min-width: 150px;
} @media (max-width: 768px) {
.cookie-modal-content {
width: 95%;
max-height: 85vh;
}
.cookie-modal-header,
.cookie-modal-body,
.cookie-modal-footer {
padding: 16px;
}
}