.cookie-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
-webkit-backdrop-filter: blur(6px);
backdrop-filter: blur(6px);
z-index: 99998;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.cookie-overlay.active { opacity: 1; visibility: visible; }
.cookie-banner {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%) translateY(calc(100% + 40px));
max-width: 900px;
width: calc(100% - 40px);
background: #ffffff;
color: #333;
z-index: 99999;
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 8px 32px rgba(32, 178, 170, 0.18), 0 2px 8px rgba(0,0,0,0.08);
border-radius: 20px;
overflow: hidden;
}
.cookie-banner::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
background: linear-gradient(90deg, #17a398 0%, #20b2aa 50%, #40c9c0 100%);
}
.cookie-banner.active { transform: translateX(-50%) translateY(0); }
.cookie-container {
max-width: 1100px;
margin: 0 auto;
padding: 28px 40px;
}
.cookie-main {
display: flex;
align-items: flex-start;
gap: 24px;
}
.cookie-icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, #17a398 0%, #20b2aa 50%, #40c9c0 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 4px 16px rgba(32, 178, 170, 0.35);
}
.cookie-icon i {
font-size: 28px;
color: #fff;
}
.cookie-content { flex: 1; }
.cookie-content h3 {
font-size: 22px;
font-weight: 700;
color: #1a1a2e;
margin-bottom: 8px;
font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
}
.cookie-content p {
font-size: 14px;
line-height: 1.6;
color: #666;
margin-bottom: 12px;
}
.cookie-content a {
color: #20b2aa;
text-decoration: none;
font-weight: 600;
font-size: 13px;
}
.cookie-content a:hover { text-decoration: underline; }
.cookie-buttons {
display: flex;
gap: 12px;
flex-wrap: wrap;
align-items: center;
margin-top: 20px;
}
.cookie-btn {
padding: 14px 32px;
border-radius: 50px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
border: none;
display: inline-flex;
align-items: center;
gap: 8px;
font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
letter-spacing: 0.3px;
}
.cookie-btn-accept {
background: linear-gradient(135deg, #17a398 0%, #20b2aa 50%, #40c9c0 100%);
color: #fff;
box-shadow: 0 4px 16px rgba(32, 178, 170, 0.35);
}
.cookie-btn-accept:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(32, 178, 170, 0.45);
}
.cookie-btn-reject {
background: #f8fbfb;
color: #555;
border: 1px solid #d0e8e8;
}
.cookie-btn-reject:hover {
background: #f0f7f7;
border-color: #20b2aa;
color: #1a1a2e;
}
.cookie-btn-settings {
background: transparent;
color: #20b2aa;
padding: 14px 20px;
}
.cookie-btn-settings:hover {
color: #17a398;
background: #f0f7f7;
border-radius: 50px;
}
.cookie-settings-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.9);
background: #ffffff;
border-radius: 16px;
max-width: 520px;
width: 95%;
max-height: 85vh;
overflow: hidden;
z-index: 100000;
opacity: 0;
visibility: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 24px rgba(32, 178, 170, 0.12);
}
.cookie-settings-modal.active {
opacity: 1;
visibility: visible;
transform: translate(-50%, -50%) scale(1);
}
.cookie-settings-modal::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 6px;
background: linear-gradient(90deg, #17a398 0%, #20b2aa 50%, #40c9c0 100%);
}
.settings-header {
padding: 28px 28px 20px;
border-bottom: 1px solid #e8f4f4;
display: flex;
justify-content: space-between;
align-items: center;
}
.settings-header h3 {
font-size: 20px;
font-weight: 700;
color: #1a1a2e;
display: flex;
align-items: center;
gap: 12px;
font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
}
.settings-header h3 i {
color: #20b2aa;
font-size: 22px;
}
.settings-close {
width: 36px;
height: 36px;
border-radius: 50%;
background: #f0f7f7;
border: none;
color: #888;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
}
.settings-close:hover {
background: #e8f4f4;
color: #1a1a2e;
}
.settings-body {
padding: 24px 28px;
max-height: 50vh;
overflow-y: auto;
}
.cookie-category {
background: #f8fbfb;
border: 1px solid #e8f4f4;
border-radius: 12px;
padding: 20px;
margin-bottom: 16px;
}
.cookie-category:last-child { margin-bottom: 0; }
.category-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
}
.category-info { flex: 1; }
.category-info h4 {
font-size: 15px;
font-weight: 600;
color: #1a1a2e;
margin-bottom: 6px;
display: flex;
align-items: center;
gap: 8px;
}
.category-info h4 i {
color: #20b2aa;
font-size: 14px;
}
.category-info p {
font-size: 13px;
color: #666;
line-height: 1.5;
margin: 0;
}
.category-badge {
font-size: 11px;
padding: 6px 12px;
border-radius: 20px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
white-space: nowrap;
}
.badge-required {
background: linear-gradient(135deg, #17a398 0%, #20b2aa 100%);
color: #fff;
}
.toggle-switch {
position: relative;
width: 52px;
height: 28px;
flex-shrink: 0;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-slider {
position: absolute;
inset: 0;
background: #d0e8e8;
border-radius: 28px;
cursor: pointer;
transition: all 0.3s;
}
.toggle-slider::before {
content: '';
position: absolute;
width: 22px;
height: 22px;
left: 3px;
bottom: 3px;
background: #fff;
border-radius: 50%;
transition: all 0.3s;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.toggle-switch input:checked + .toggle-slider {
background: linear-gradient(135deg, #17a398 0%, #20b2aa 50%, #40c9c0 100%);
}
.toggle-switch input:checked + .toggle-slider::before {
transform: translateX(24px);
}
.toggle-switch input:disabled + .toggle-slider {
opacity: 0.6;
cursor: not-allowed;
}
.settings-footer {
padding: 20px 28px;
border-top: 1px solid #e8f4f4;
display: flex;
justify-content: space-between;
gap: 12px;
background: #f8fbfb;
}
.settings-footer .cookie-btn {
flex: 1;
justify-content: center;
padding: 12px 24px;
}
.cookie-settings-trigger {
position: fixed;
bottom: 70px;
left: 24px;
width: 52px;
height: 52px;
background: linear-gradient(135deg, #17a398 0%, #20b2aa 50%, #40c9c0 100%);
border-radius: 50%;
border: none;
color: #fff;
cursor: pointer;
z-index: 9997;
box-shadow: 0 4px 16px rgba(32, 178, 170, 0.35);
transition: all 0.3s ease;
display: none;
}
.cookie-settings-trigger i {
font-size: 24px;
color: #fff;
}
.cookie-settings-trigger.visible {
display: flex;
align-items: center;
justify-content: center;
}
.cookie-settings-trigger:hover {
transform: scale(1.1);
box-shadow: 0 6px 24px rgba(32, 178, 170, 0.45);
}
@media (max-width: 768px) {
.cookie-banner {
bottom: 16px;
width: calc(100% - 32px);
border-radius: 16px;
}
.cookie-container { padding: 20px 20px; }
.cookie-main { flex-direction: column; gap: 16px; }
.cookie-icon { width: 48px; height: 48px; font-size: 22px; }
.cookie-content h3 { font-size: 18px; }
.cookie-buttons { flex-direction: column; width: 100%; }
.cookie-btn { width: 100%; justify-content: center; padding: 12px 24px; }
.cookie-settings-modal { max-height: 90vh; }
.settings-body { max-height: 45vh; }
.settings-footer { flex-direction: column; }
.category-header { flex-direction: column; align-items: flex-start; gap: 12px; }
.cookie-settings-trigger { bottom: 80px; left: 16px; width: 48px; height: 48px; }
}
.settings-body::-webkit-scrollbar { width: 6px; }
.settings-body::-webkit-scrollbar-track { background: #f0f7f7; border-radius: 3px; }
.settings-body::-webkit-scrollbar-thumb { background: #20b2aa; border-radius: 3px; }
.settings-body::-webkit-scrollbar-thumb:hover { background: #17a398; }
