/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 20px;
  animation: slideUp 0.4s ease-out;
  border-top: 3px solid #004F59;
}

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

.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.cookie-consent-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #004F59;
}

.cookie-consent-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.cookie-consent-link {
  color: #004F59;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-consent-link:hover {
  color: #003844;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-consent-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-consent-accept {
  background: #004F59;
  color: white;
}

.cookie-consent-accept:hover {
  background: #003844;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 79, 89, 0.3);
}

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

.cookie-consent-decline:hover {
  background: #e8e8e8;
  border-color: #ccc;
}

.cookie-consent-settings {
  background: transparent;
  color: #004F59;
  border: 2px solid #004F59;
}

.cookie-consent-settings:hover {
  background: #004F59;
  color: white;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

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

.cookie-modal-content {
  background: white;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  margin: 0;
  color: #004F59;
  font-size: 22px;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.cookie-modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

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

.cookie-modal-intro {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 5px;
  border-left: 3px solid #004F59;
}

.cookie-category-header {
  margin-bottom: 10px;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
}

.cookie-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cookie-checkbox:disabled {
  cursor: not-allowed;
}

.cookie-required {
  color: #999;
  font-size: 12px;
  font-weight: normal;
}

.cookie-category-description {
  margin: 8px 0 0 28px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.cookie-modal-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-consent-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer .cookie-consent-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 15px;
  }

  .cookie-consent-title {
    font-size: 16px;
  }

  .cookie-consent-description {
    font-size: 13px;
  }

  .cookie-modal-content {
    max-height: 95vh;
  }
}
