/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  border-top: 1px solid #00ff00;
  padding: 1.5rem;
  z-index: 9999;
  display: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

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

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

.cookie-consent-text h3 {
  color: #00ff00;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: normal;
}

.cookie-consent-text p {
  color: #ffffff;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent-text a {
  color: #00ff00;
  text-decoration: none;
  border-bottom: 1px solid #00ff00;
}

.cookie-consent-text a:hover {
  color: #00cc00;
  border-bottom-color: #00cc00;
}

.cookie-consent-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-consent-buttons .btn {
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 0;
  border: 1px solid #00ff00;
  background-color: transparent;
  color: #00ff00;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.cookie-consent-buttons .btn:hover {
  background-color: #00ff00;
  color: #000000;
}

.cookie-consent-buttons .btn-mono {
  background-color: #00ff00;
  color: #000000;
}

.cookie-consent-buttons .btn-mono:hover {
  background-color: transparent;
  color: #00ff00;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-settings-modal.show {
  opacity: 1;
}

.cookie-settings-content {
  background-color: #000000;
  border: 1px solid #00ff00;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #00ff00;
}

.cookie-settings-header h2 {
  color: #00ff00;
  margin: 0;
  font-size: 1.5rem;
  font-weight: normal;
}

.cookie-close-btn {
  background: none;
  border: none;
  color: #00ff00;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.cookie-close-btn:hover {
  color: #00cc00;
}

.cookie-settings-body {
  margin-bottom: 1.5rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #00ff00;
  background-color: transparent;
}

.cookie-category-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-category h4 {
  color: #00ff00;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: normal;
}

.cookie-category p {
  color: #ffffff;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}

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

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  border: 1px solid #333333;
  transition: 0.3s;
  border-radius: 0;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background-color: #333333;
  transition: 0.3s;
  border-radius: 0;
}

input:checked + .cookie-slider {
  background-color: transparent;
  border-color: #00ff00;
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
  background-color: #00ff00;
}

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

.cookie-settings-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid #00ff00;
}

.cookie-settings-footer .btn {
  border-radius: 0;
  border: 1px solid #00ff00;
  background-color: transparent;
  color: #00ff00;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
}

.cookie-settings-footer .btn:hover {
  background-color: #00ff00;
  color: #000000;
}

.cookie-settings-footer .btn-mono {
  background-color: #00ff00;
  color: #000000;
}

.cookie-settings-footer .btn-mono:hover {
  background-color: transparent;
  color: #00ff00;
}

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

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

  .cookie-consent-buttons .btn {
    flex: 1;
    min-width: 120px;
  }

  .cookie-settings-content {
    padding: 1.5rem;
    max-height: 90vh;
  }

  .cookie-category-header {
    flex-direction: column;
  }

  .cookie-settings-footer {
    flex-direction: column;
  }

  .cookie-settings-footer .btn {
    width: 100%;
  }
}

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

  .cookie-consent-text h3 {
    font-size: 1rem;
  }

  .cookie-consent-text p {
    font-size: 0.85rem;
  }

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

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