#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #ffffff; border-top: 1px solid #e0e0e0; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1); padding: 16px 20px; z-index: 9999; font-size: 14px; line-height: 1.5; display: flex; justify-content: space-between; align-items: center; gap: 20px; animation: slideUp 0.4s ease-out; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; }
#cookie-banner.hidden { display: none !important; }
.cookie-content { flex: 1; display: flex; gap: 16px; align-items: center; }
.cookie-text { color: #333; font-size: 14px; }
.cookie-text a { color: #0066cc; text-decoration: none; font-weight: 500; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.cookie-btn { padding: 8px 16px; border: none; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; min-height: 36px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; }
.cookie-btn-reject { background: #f0f0f0; color: #333; border: 1px solid #d0d0d0; }
.cookie-btn-reject:hover { background: #e5e5e5; border-color: #bbb; }
.cookie-btn-accept { background: #0066cc; color: white; }
.cookie-btn-accept:hover { background: #0052a3; }
.cookie-close { width: 24px; height: 24px; background: none; border: none; cursor: pointer; color: #666; font-size: 18px; padding: 0; display: flex; align-items: center; justify-content: center; }
.cookie-close:hover { color: #333; }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#cookie-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: none; justify-content: center; align-items: center; z-index: 10000; padding: 20px; }
#cookie-modal.show { display: flex; }
.modal-content { background: white; border-radius: 12px; padding: 28px; max-width: 500px; width: 100%; max-height: 80vh; overflow-y: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); animation: popIn 0.3s ease-out; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; }
@keyframes popIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-header h2 { font-size: 20px; color: #222; margin: 0; }
.modal-close { width: 28px; height: 28px; background: none; border: none; cursor: pointer; font-size: 24px; color: #666; padding: 0; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: #333; }
.cookie-category { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #e0e0e0; }
.cookie-category:last-child { border-bottom: none; margin-bottom: 16px; padding-bottom: 0; }
.category-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.category-name { font-weight: 600; color: #222; margin-bottom: 4px; }
.category-desc { font-size: 13px; color: #666; }
.toggle-switch { width: 40px; height: 24px; background: #ccc; border: none; border-radius: 12px; cursor: pointer; position: relative; padding: 0; transition: background 0.2s; flex-shrink: 0; appearance: none; -webkit-appearance: none; }
.toggle-switch::after { content: ''; position: absolute; width: 20px; height: 20px; background: white; border-radius: 50%; top: 2px; left: 2px; transition: left 0.2s; }
.toggle-switch:checked { background: #0066cc; }
.toggle-switch:checked::after { left: 18px; }
.toggle-switch:disabled { cursor: not-allowed; opacity: 0.5; }
.modal-footer { display: flex; gap: 12px; margin-top: 24px; }
.modal-footer button { flex: 1; padding: 10px 16px; border: none; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; }
.modal-btn-reject { background: #f0f0f0; color: #333; }
.modal-btn-reject:hover { background: #e0e0e0; }
.modal-btn-accept { background: #0066cc; color: white; }
.modal-btn-accept:hover { background: #0052a3; }
.cookie-settings-link { color: #0066cc; text-decoration: none; cursor: pointer; font-weight: 500; border: none; background: none; padding: 0; font-size: inherit; font-family: inherit; }
.cookie-settings-link:hover { text-decoration: underline; }
@media (max-width: 768px) {
  #cookie-banner { flex-direction: column; gap: 12px; padding: 16px; align-items: stretch; }
  .cookie-content { flex-direction: column; gap: 12px; }
  .cookie-buttons { width: 100%; justify-content: space-between; }
  .cookie-btn { flex: 1; min-height: 40px; }
  .modal-content { padding: 20px; }
}
