/* GDPR Compliant Cookie Consent Banner */
/* Simple Cookie Banner - First Step */
#user-notice {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(135deg, var(--bc-1) 0%, var(--bc-2) 50%, var(--bc-3) 100%);
  color: #fff;
  padding: 20px 25px;
  box-shadow: 0 -8px 32px rgba(0, 119, 182, 0.3);
  z-index: 999999 !important;
  border-top: 3px solid var(--bc-4);
  display: none;
  font-family: 'Cantarell', sans-serif;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-text h3 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-banner-text p {
  margin: 0;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
  font-size: 0.95em;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, var(--bc-4) 0%, var(--bc-5) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.cookie-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.cookie-btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

/* Cookie Modal - Advanced Settings */
#cookie-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0,0,0,0.8);
  z-index: 1000000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-content {
  background: linear-gradient(135deg, var(--bc-1) 0%, var(--bc-2) 50%, var(--bc-3) 100%);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  color: #fff;
  font-family: 'Cantarell', sans-serif;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 20px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.cookie-modal-header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
}

.cookie-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-close-btn:hover {
  background: rgba(255,255,255,0.1);
  transform: rotate(90deg);
}

.cookie-modal-body {
  padding: 20px 30px;
}

.cookie-modal-body > p {
  margin: 0 0 25px 0;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.cookie-category {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-header h3 {
  margin: 0;
  color: var(--bc-4);
  font-size: 1.1em;
  font-weight: 600;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--bc-4);
  cursor: pointer;
}

.cookie-toggle input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-toggle label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9em;
  cursor: pointer;
}

.cookie-category p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9em;
  line-height: 1.4;
}

.cookie-modal-footer {
  padding: 20px 30px 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cookie-banner-text {
    min-width: auto;
  }
  
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
  
  #cookie-modal {
    padding: 10px;
  }
  
  .cookie-modal-content {
    max-height: 95vh;
  }
  
  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
  
  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #user-notice {
    padding: 15px 20px;
  }
  
  .cookie-banner-text h3 {
    font-size: 1.1em;
  }
  
  .cookie-banner-text p {
    font-size: 0.9em;
  }
  
  .cookie-btn {
    padding: 10px 20px;
    font-size: 0.85em;
  }
}