#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: #333333;
  z-index: 10000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(57, 170, 225, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #666666;
}

.cookie-banner-text a {
  color: #39aae1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
  color: #5bb8e8;
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cookie-btn-primary {
  background: #39aae1;
  color: #ffffff;
}

.cookie-btn-primary:hover {
  background: #2a8bc7;
}

.cookie-btn-secondary {
  background: transparent;
  color: #39aae1;
  border: 2px solid #39aae1;
}

.cookie-btn-secondary:hover {
  background: #39aae1;
  color: #ffffff;
}

.cookie-btn-link {
  background: transparent;
  color: #39aae1;
  padding: 10px 14px;
  text-decoration: underline;
}

.cookie-btn-link:hover {
  color: #5bb8e8;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
    gap: 12px;
  }

  .cookie-banner-text {
    min-width: auto;
  }

  .cookie-banner-text h3 {
    font-size: 15px;
  }

  .cookie-banner-text p {
    font-size: 12px;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .cookie-banner-content {
    padding: 12px 12px;
  }

  .cookie-banner-buttons {
    gap: 6px;
  }

  .cookie-btn {
    padding: 10px 14px;
    font-size: 12px;
  }
}

#cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#cookie-settings-modal.show {
  opacity: 1;
}

.cookie-modal-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(57, 170, 225, 0.3);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
}

#cookie-settings-modal.show .cookie-modal-content {
  transform: scale(1) translateY(0);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(57, 170, 225, 0.3);
}

.cookie-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: #39aae1;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  background: rgba(57, 170, 225, 0.1);
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cookie-category-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

.cookie-category-description {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  transition: 0.3s;
  border-radius: 32px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
  background: #39aae1;
}

.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(28px);
}

.cookie-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(57, 170, 225, 0.3);
}

.cookie-modal-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
}

.cookie-modal-btn-secondary {
  background: transparent;
  color: #39aae1;
  border: 2px solid #39aae1;
}

.cookie-modal-btn-secondary:hover {
  background: #39aae1;
  color: #ffffff;
}

.cookie-modal-btn-primary {
  background: #39aae1;
  color: #ffffff;
}

.cookie-modal-btn-primary:hover {
  background: #2a8bc7;
}

@media (max-width: 768px) {
  .cookie-modal-content {
    padding: 24px 20px;
    margin: 10px;
  }

  .cookie-modal-title {
    font-size: 20px;
  }

  .cookie-category {
    padding: 16px;
  }

  .cookie-category-title {
    font-size: 16px;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-btn {
    width: 100%;
  }
}

