/* Consent Banner Styles */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #29323c 0%, rgba(41, 50, 60, 0.95) 100%);
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
  border-top: 3px solid #7fffd4;
}

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

.consent-banner.hide {
  transform: translateY(100%);
}

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

.consent-text {
  flex: 1;
  min-width: 300px;
}

.consent-text h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e0e0e0;
}

.consent-text a {
  color: #7fffd4;
  text-decoration: none;
  font-weight: 500;
}

.consent-text a:hover {
  color: #5fe0b5;
  text-decoration: underline;
}

.consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.consent-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 100px;
}

.consent-btn-accept {
  background: linear-gradient(135deg, #7fffd4 0%, #5fe0b5 100%);
  color: #29323c;
  border: 2px solid transparent;
  font-weight: 600;
}

.consent-btn-accept:hover {
  background: linear-gradient(135deg, #5fe0b5 0%, #4dd0a7 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(127, 255, 212, 0.3);
}

.consent-btn-decline {
  background: transparent;
  color: #e0e0e0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.consent-btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.consent-btn-settings {
  background: transparent;
  color: #7fffd4;
  border: 2px solid #7fffd4;
  font-size: 13px;
  padding: 8px 16px;
}

.consent-btn-settings:hover {
  background: #7fffd4;
  color: #29323c;
}

/* Consent Settings Modal */
.consent-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.consent-modal.show {
  display: flex;
}

.consent-modal-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.consent-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.consent-modal-header h3 {
  margin: 0;
  color: #29323c;
  font-size: 24px;
  font-weight: 600;
}

.consent-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consent-close:hover {
  color: #333333;
}

.consent-option {
  margin-bottom: 20px;
  padding: 15px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
}

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

.consent-option h4 {
  margin: 0;
  color: #29323c;
  font-size: 16px;
  font-weight: 600;
}

.consent-toggle {
  position: relative;
  width: 50px;
  height: 24px;
  background: #cccccc;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.consent-toggle.active {
  background: #7fffd4;
}

.consent-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.consent-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.consent-toggle.active::after {
  transform: translateX(26px);
}

.consent-option p {
  margin: 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
}

.consent-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .consent-text {
    min-width: auto;
  }

  .consent-buttons {
    justify-content: center;
  }

  .consent-btn {
    flex: 1;
    min-width: auto;
  }

  .consent-modal-content {
    margin: 10px;
    padding: 20px;
  }

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

@media (max-width: 480px) {
  .consent-banner {
    padding: 15px;
  }

  .consent-text h4 {
    font-size: 16px;
  }

  .consent-text p {
    font-size: 13px;
  }

  .consent-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
