/* GDPR Cookie Consent Banner Styles */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 1.5rem;
  animation: slideUp 0.3s ease-out;
  border-top: 3px solid #0081A7;
}

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

.cookie-consent-hidden {
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.cookie-consent-text p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent-text strong {
  color: #0081A7;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.cookie-consent-text a {
  color: #0081A7;
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  color: #00AFB9;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: #0081A7;
  color: white;
}

.cookie-btn-primary:hover {
  background: #006d8f;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 129, 167, 0.3);
}

.cookie-btn-secondary {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.cookie-btn-secondary:hover {
  background: #e8e8e8;
  border-color: #ccc;
}

.cookie-btn-link {
  background: transparent;
  color: #0081A7;
  padding: 0.75rem 1rem;
  text-decoration: underline;
}

.cookie-btn-link:hover {
  color: #00AFB9;
  background: #f9f9f9;
}

/* Cookie Details/Customization Panel */
.cookie-details {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 5px;
  border-left: 3px solid #0081A7;
}

.cookie-category label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0081A7;
}

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

.cookie-category strong {
  color: #333;
  font-size: 1rem;
}

.cookie-description {
  margin: 0.5rem 0 0 2rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-buttons-detailed {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 1rem;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-consent-text {
    min-width: unset;
  }
  
  .cookie-consent-text strong {
    font-size: 1rem;
  }
  
  .cookie-consent-text p {
    font-size: 0.9rem;
  }
  
  .cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-buttons-detailed {
    flex-direction: column;
  }
  
  .cookie-description {
    margin-left: 0;
  }
}

/* Accessibility */
.cookie-btn:focus {
  outline: 2px solid #0081A7;
  outline-offset: 2px;
}

.cookie-category input[type="checkbox"]:focus {
  outline: 2px solid #0081A7;
  outline-offset: 2px;
}

/* Print - hide cookie banner when printing */
@media print {
  .cookie-consent-banner {
    display: none !important;
  }
}
