.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--gray-900);
  color: var(--white);
  padding: 24px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

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

.cookie-banner-content p {
  flex: 1;
  min-width: 300px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-100);
}

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

.cookie-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--indigo);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: #4A5C9E;
}

.cookie-btn-reject {
  background-color: var(--gray-600);
  color: var(--white);
}

.cookie-btn-reject:hover {
  background-color: var(--gray-700);
}

.cookie-btn-settings {
  background-color: transparent;
  color: var(--mint);
  border: 1px solid var(--mint);
}

.cookie-btn-settings:hover {
  background-color: var(--mint);
  color: var(--gray-900);
}

.cookie-btn-customize {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--gray-600);
}

.cookie-btn-customize:hover {
  background-color: var(--gray-700);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
}

.cookie-modal-content {
  background-color: var(--white);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
}

.cookie-modal-header {
  margin-bottom: 24px;
}

.cookie-modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 8px;
}

.cookie-modal-header p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.cookie-option {
  padding: 16px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: var(--gray-50);
}

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

.cookie-option-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.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: var(--gray-600);
  border-radius: 24px;
  transition: 0.3s;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--indigo);
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-option p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cookie-modal-actions button {
  flex: 1;
  min-width: 120px;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-content p {
    min-width: auto;
    text-align: center;
  }

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

  .cookie-btn {
    width: 100%;
  }

  .cookie-modal-content {
    padding: 24px;
  }

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

  .cookie-modal-actions button {
    width: 100%;
  }
}
