style.css
-----------
/* css/cookie-policy.css */
/* Cookie Banner Styles */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background-color:#2c3e50;color:#fff;padding:20px;z-index:9999;box-shadow:0 -2px 10px #0000001a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;line-height:1.6}
.cookie-banner-content{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.cookie-banner-text{flex:1;min-width:300px}
.cookie-banner-text h3{margin:0 0 10px;font-size:18px;font-weight:600;color:#fff}
.cookie-banner-text p{margin:0;font-size:14px;color:#ecf0f1}
.cookie-banner-text a{color:#3498db;text-decoration:underline}
.cookie-banner-text a:hover{color:#2980b9}
.cookie-banner-buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cookie-btn{padding:12px 20px;border:none;border-radius:5px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease;text-decoration:none;display:inline-block;text-align:center;min-width:120px}
.cookie-btn-accept{background-color:#007e2a;color:#fff}
.cookie-btn-accept:hover{background-color:#007e2a;transform:translateY(-2px)}
.cookie-btn-settings{background-color:#F15D5A;color:#fff}
.cookie-btn-settings:hover{background-color:#F15D5A;transform:translateY(-2px)}
.cookie-btn-reject{background-color:#c61200;color:#fff}
.cookie-btn-reject:hover{background-color:#c61200;transform:translateY(-2px)}
.cookie-modal{position:fixed;z-index:10000;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#00000080;backdrop-filter:blur(5px)}
.cookie-modal-content{background-color:#fff;margin:5% auto;padding:30px;border-radius:10px;width:90%;max-width:600px;position:relative;box-shadow:0 10px 30px #0000004d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
.cookie-modal-close{color:#aaa;float:right;font-size:28px;font-weight:700;position:absolute;top:15px;right:20px;cursor:pointer}
.cookie-modal-close:hover,.cookie-modal-close:focus{color:#000;text-decoration:none}
.cookie-modal-content h3{margin-top:0;margin-bottom:20px;color:#2c3e50;font-size:24px}
.cookie-modal-content p{color:#7f8c8d;margin-bottom:20px;line-height:1.6}
.cookie-category{margin-bottom:25px;padding:20px;background-color:#f8f9fa;border-radius:8px;border-left:4px solid #3498db}
.cookie-category label{display:flex;align-items:flex-start;cursor:pointer;font-weight:500;color:#2c3e50;margin-bottom:10px}
.cookie-category input[type="checkbox"]{margin-right:12px;margin-top:2px;transform:scale(1.2)}
.cookie-category input[type="checkbox"]:disabled{opacity:.6}
.cookie-category strong{flex:1}
.required{color:#e74c3c;font-size:12px;font-weight:400;margin-left:8px}
.cookie-category p{margin:0;font-size:14px;color:#7f8c8d;padding-left:24px}
.cookie-modal-buttons{display:flex;gap:15px;justify-content:flex-end;margin-top:30px;flex-wrap:wrap}
@media (max-width: 768px) {
.cookie-banner{padding:15px}
.cookie-banner-content{flex-direction:column;text-align:center}
.cookie-banner-text{min-width:unset}
.cookie-banner-buttons{justify-content:center;width:100%}
.cookie-btn{min-width:100px;padding:10px 15px;font-size:13px}
.cookie-modal-content{margin:10% auto;padding:20px;width:95%}
.cookie-modal-buttons{flex-direction:column}
.cookie-btn{width:100%}
}
@media (max-width: 480px) {
.cookie-banner-text h3{font-size:16px}
.cookie-banner-text p{font-size:13px}
.cookie-banner-buttons{flex-direction:column;width:100%}
.cookie-btn{width:100%;margin-bottom:5px}
.cookie-modal-content h3{font-size:20px}
.cookie-category{padding:15px}
}
@keyframes slideUp {
from{transform:translateY(100%);opacity:0}
to{transform:translateY(0);opacity:1}
}
.cookie-banner{animation:slideUp .5s ease-out}
@keyframes fadeIn {
from{opacity:0;transform:scale(0.9)}
to{opacity:1;transform:scale(1)}
}
.cookie-modal-content{animation:fadeIn .3s ease-out}
.cookie-btn:focus,.cookie-category input[type="checkbox"]:focus{outline:2px solid #3498db;outline-offset:2px}
@media (prefers-contrast: high) {
.cookie-banner{background-color:#000;border-top:2px solid #fff}
.cookie-btn{border:2px solid #fff}
}
@media (prefers-reduced-motion: reduce) {
.cookie-banner,.cookie-modal-content,.cookie-btn{animation:none;transition:none}
.cookie-btn:hover{transform:none}
}
.cookie-preferences-link{color:#3498db;text-decoration:underline;cursor:pointer;font-size:14px;padding:5px 10px;border:1px solid #3498db;border-radius:3px;display:inline-block;transition:all .3s ease}
.cookie-preferences-link:hover{background-color:#3498db;color:#fff;text-decoration:none}
.cookie-preferences-footer{text-align:center;padding:10px;background-color:#f8f9fa;border-top:1px solid #dee2e6;margin-top:20px}
@media print {
.cookie-banner,.cookie-modal,.cookie-preferences-footer{display:none!important}
}
#cookie-banner{position:fixed;bottom:0;left:0;width:100%;z-index:9999;background:#04091e;color:#fff;padding:1rem 1.5rem;box-shadow:0 -4px 12px #00000040}
#cookie-banner .cookie-banner-content{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}
@media (max-width: 768px) {
#cookie-banner .cookie-banner-content{flex-direction:column;text-align:center}
#cookie-banner .cookie-banner-buttons{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap}
}