/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f8f9fa;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 15px 0;
  display: block;
}

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

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

.cookie-consent__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.cookie-consent__text {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

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

.cookie-consent__button {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
}

.cookie-consent__button:active {
  transform: scale(0.98);
}

.cookie-consent__button--accept {
  background-color: #4a7aff;
  color: white;
}

.cookie-consent__button--accept:hover {
  background-color: #3a67e8;
}

.cookie-consent__button--settings {
  background-color: #f1f1f1;
  color: #555;
}

.cookie-consent__button--settings:hover {
  background-color: #e5e5e5;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

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

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

.cookie-settings-modal__title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.cookie-settings-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  transition: color 0.3s;
}

.cookie-settings-modal__close:hover {
  color: #555;
}

.cookie-settings-modal__content {
  padding: 20px;
}

.cookie-settings-modal__text {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
}

.cookie-settings-modal__options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-settings-modal__option {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 6px;
}

.cookie-settings-modal__option-content h4 {
  font-size: 16px;
  margin: 0 0 5px 0;
  color: #333;
}

.cookie-settings-modal__option-content p {
  font-size: 13px;
  margin: 0;
  color: #666;
}

/* Toggle Switch */
.cookie-settings-modal__switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-top: 3px;
}

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

.cookie-settings-modal__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.cookie-settings-modal__slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-settings-modal__slider {
  background-color: #4a7aff;
}

input:disabled + .cookie-settings-modal__slider {
  background-color: #7a9fee;
  cursor: not-allowed;
}

input:focus + .cookie-settings-modal__slider {
  box-shadow: 0 0 1px #4a7aff;
}

input:checked + .cookie-settings-modal__slider:before {
  transform: translateX(26px);
}

.cookie-settings-modal__footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  text-align: right;
}

.cookie-settings-modal__button {
  padding: 10px 15px;
  background-color: #4a7aff;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cookie-settings-modal__button:hover {
  background-color: #3a67e8;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .cookie-consent__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent__buttons {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-settings-modal__container {
    max-height: 80vh;
  }
}
