#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(224, 224, 224, 0.1);
  color: #E0E0E0;
  padding: 1.5rem 0;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}
#cookie-consent.cookie-consent-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 968px) {
  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
}
.cookie-content {
  flex: 1;
  min-width: 0;
}
.cookie-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #E0E0E0;
}
.cookie-description {
  margin: 0;
  color: rgba(224, 224, 224, 0.8);
  line-height: 1.4;
}
.cookie-learn-more {
  color: #00B894;
  text-decoration: none;
}
.cookie-learn-more:hover {
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (max-width: 968px) {
  .cookie-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media (max-width: 576px) {
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-actions .btn {
    width: 100%;
  }
}
.btn-cookie-primary {
  background: #00B894;
  border: 1px solid #00B894;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-primary:hover {
  background: #008f73;
  border-color: #008f73;
  color: white;
  text-decoration: none;
}
.btn-cookie-primary:focus {
  outline: 2px solid rgba(0, 184, 148, 0.3);
  outline-offset: 2px;
}
.btn-cookie-secondary {
  background: transparent;
  border: 1px solid rgba(224, 224, 224, 0.2);
  color: #E0E0E0;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-secondary:hover {
  background: rgba(224, 224, 224, 0.08);
  border-color: rgba(224, 224, 224, 0.3);
  color: #E0E0E0;
  text-decoration: none;
}
.btn-cookie-secondary:focus {
  outline: 2px solid rgba(0, 184, 148, 0.3);
  outline-offset: 2px;
}
.btn-cookie-text {
  background: transparent;
  border: none;
  color: rgba(224, 224, 224, 0.7);
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-text:hover {
  color: #E0E0E0;
  text-decoration: none;
}
.btn-cookie-text:focus {
  outline: 2px solid rgba(0, 184, 148, 0.3);
  outline-offset: 2px;
}
#cookie-preferences {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(224, 224, 224, 0.05);
  border: 1px solid rgba(224, 224, 224, 0.1);
  border-radius: 8px;
  display: none;
}
.cookie-preference-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(224, 224, 224, 0.08);
}
.cookie-preference-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cookie-preference-info {
  flex: 1;
  margin-right: 1rem;
}
.cookie-preference-title {
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 0.25rem 0;
  color: #E0E0E0;
}
.cookie-preference-desc {
  font-size: 13px;
  color: rgba(224, 224, 224, 0.7);
  margin: 0;
  line-height: 1.3;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.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: rgba(224, 224, 224, 0.3);
  transition: 0.3s ease;
  border-radius: 24px;
}
.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background-color: white;
  transition: 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #00B894;
}
.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
  background-color: rgba(224, 224, 224, 0.15);
  cursor: not-allowed;
}
.cookie-toggle input:disabled + .cookie-toggle-slider:before {
  background-color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  #cookie-consent {
    padding: 1rem 0;
    font-size: 13px;
  }
  .cookie-title {
    font-size: 15px;
  }
  .cookie-preference-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cookie-preference-info {
    margin-right: 0;
  }
}
