/* Cookie Banner & Modal (theme: primary-500/600) */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    padding: 24px; z-index: 9999;
    border-top: 3px solid #0284c7;
    animation: cookieSlideUp 0.3s ease-out;
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cookie-content { max-width: 1200px; margin: 0 auto; }
.cookie-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cookie-header h3 { margin: 0; font-size: 20px; color: #1e293b; }
.cookie-close {
    background: none; border: none; font-size: 28px; cursor: pointer; color: #64748b;
    line-height: 1; padding: 0; width: 30px; height: 30px;
}
.cookie-close:hover { color: #0f172a; }
.cookie-description { color: #64748b; line-height: 1.5; margin-bottom: 16px; font-size: 14px; }
.cookie-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
    padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer;
    border: none; transition: all 0.2s;
}
.cookie-btn-primary { background: #0284c7; color: white; }
.cookie-btn-primary:hover { background: #0369a1; }
.cookie-btn-secondary { background: #f1f5f9; color: #334155; }
.cookie-btn-secondary:hover { background: #e2e8f0; }
.cookie-btn-link { background: transparent; color: #0284c7; text-decoration: underline; }
.cookie-btn-link:hover { color: #0369a1; }
.cookie-hidden { display: none !important; }
.cookie-modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 10000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.cookie-modal-content {
    background: white; border-radius: 12px; max-width: 600px; width: 100%;
    max-height: 80vh; overflow-y: auto;
    animation: cookieFadeIn 0.3s ease-out;
}
@keyframes cookieFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.cookie-modal-header {
    padding: 24px; border-bottom: 1px solid #e2e8f0;
    display: flex; justify-content: space-between; align-items: center;
}
.cookie-modal-header h2 { margin: 0; font-size: 24px; color: #1e293b; }
.cookie-modal-body { padding: 24px; }
.cookie-category {
    margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0;
}
.cookie-category:last-child { border-bottom: none; margin-bottom: 0; }
.cookie-category-header { display: flex; gap: 16px; align-items: flex-start; }
.cookie-category h4 { margin: 0 0 8px 0; font-size: 16px; color: #1e293b; }
.cookie-category p { margin: 0; font-size: 14px; color: #64748b; line-height: 1.5; }
.cookie-switch {
    position: relative; display: inline-block; width: 50px; height: 26px; flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1; transition: 0.3s; border-radius: 26px;
}
.cookie-slider:before {
    position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px;
    background-color: white; transition: 0.3s; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-switch input:checked + .cookie-slider { background-color: #0284c7; }
.cookie-switch input:checked + .cookie-slider:before { transform: translateX(24px); }
.cookie-switch input:disabled + .cookie-slider { opacity: 0.6; cursor: not-allowed; }
.cookie-modal-footer {
    padding: 24px; border-top: 1px solid #e2e8f0;
    display: flex; gap: 12px; justify-content: flex-end;
}
@media (max-width: 768px) {
    .cookie-banner { padding: 16px; }
    .cookie-buttons { flex-direction: column; }
    .cookie-btn { width: 100%; }
    .cookie-modal-footer { flex-direction: column; }
}
