.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  border-top: 3px solid #2c3e50;
}

.cookie-consent-banner.visible {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #2c3e50;
  font-weight: 600;
}

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

.cookie-consent-text a {
  color: #3498db;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-consent-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 140px;
}

.cookie-consent-btn:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

.cookie-consent-btn-accept {
  background: #27ae60;
  color: white;
}

.cookie-consent-btn-accept:hover {
  background: #229954;
}

.cookie-consent-btn-reject {
  background: #95a5a6;
  color: white;
}

.cookie-consent-btn-reject:hover {
  background: #7f8c8d;
}

.cookie-consent-btn-customize {
  background: #3498db;
  color: white;
}

.cookie-consent-btn-customize:hover {
  background: #2980b9;
}
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-settings-modal.visible {
  display: flex;
}

.cookie-settings-content {
  background: white;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cookie-settings-header {
  padding: 1.5rem;
  border-bottom: 1px solid #ecf0f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-settings-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2c3e50;
}

.cookie-settings-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #95a5a6;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.cookie-settings-close:hover {
  background: #ecf0f1;
  color: #2c3e50;
}

.cookie-settings-close:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

.cookie-settings-body {
  padding: 1.5rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ecf0f1;
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

.cookie-category-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.cookie-category-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #27ae60;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #27ae60;
}

.cookie-toggle input:focus + .cookie-toggle-slider {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

.cookie-settings-footer {
  padding: 1.5rem;
  border-top: 1px solid #ecf0f1;
  display: flex;
  gap: 0.75rem;
}

.cookie-settings-save {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-settings-save:hover {
  background: #229954;
}

.cookie-settings-save:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}
.cookie-settings-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #ecf0f1;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background 0.2s ease;
  cursor: pointer;
}

.cookie-settings-link:hover {
  background: #d5dbdb;
}

.cookie-settings-link:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}
@media (min-width: 768px) {
  .cookie-consent-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-consent-text {
    flex: 1;
    margin-right: 1.5rem;
  }

  .cookie-consent-actions {
    flex-shrink: 0;
    flex-wrap: nowrap;
  }

  .cookie-consent-btn {
    flex: 0 0 auto;
    min-width: 140px;
  }
}

@media (max-width: 767px) {
  .cookie-consent-banner {
    padding: 1rem;
  }

  .cookie-consent-text h3 {
    font-size: 1.1rem;
  }

  .cookie-consent-text p {
    font-size: 0.9rem;
  }

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

  .cookie-settings-content {
    margin: 1rem;
  }

  .cookie-settings-footer {
    flex-direction: column;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-settings-modal.visible {
  animation: fadeIn 0.2s ease;
}
