/* Cookie Consent Popup Styles */
.cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-consent-overlay.show {
  display: block;
  opacity: 1;
}

.cookie-consent-popup {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 30px;
  transition: bottom 0.4s ease;
}

.cookie-consent-popup.show {
  bottom: 20px;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.cookie-consent-icon {
  font-size: 28px;
  margin-right: 12px;
}

.cookie-consent-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.cookie-consent-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-consent-description a {
  color: #007bff;
  text-decoration: none;
}

.cookie-consent-description a:hover {
  text-decoration: underline;
}

.cookie-consent-options {
  margin-bottom: 20px;
}

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

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info {
  flex: 1;
}

.cookie-option-name {
  font-weight: 600;
  color: #333;
  font-size: 15px;
  margin-bottom: 4px;
}

.cookie-option-description {
  font-size: 13px;
  color: #888;
}

.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: #007bff;
}

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

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

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.cookie-consent-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-consent-btn-primary {
  background-color: #007bff;
  color: white;
}

.cookie-consent-btn-primary:hover {
  background-color: #0056b3;
}

.cookie-consent-btn-secondary {
  background-color: #6c757d;
  color: white;
}

.cookie-consent-btn-secondary:hover {
  background-color: #5a6268;
}

.cookie-consent-btn-outline {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.cookie-consent-btn-outline:hover {
  background-color: #007bff;
  color: white;
}

.cookie-settings-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  cursor: pointer;
  color: #007bff;
  font-size: 14px;
  font-weight: 500;
}

.cookie-settings-toggle:hover {
  text-decoration: underline;
}

.cookie-settings-toggle i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.cookie-settings-toggle.expanded i {
  transform: rotate(180deg);
}

.cookie-consent-options {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cookie-consent-options.show {
  max-height: 400px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-popup {
    max-width: 95%;
    padding: 20px;
  }

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

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

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

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