.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a1a2e;
  color: #ffffff;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  flex: 1;
}

.cookie-content p {
  margin: 0;
  color: #e0e0e0;
}

.cookie-content a {
  color: #00bfff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #00bfff;
}

.cookie-content a:hover {
  opacity: 0.8;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.cookie-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: #0066cc;
  color: white;
}

.cookie-btn-accept:hover {
  background-color: #0052a3;
}

.cookie-btn-reject {
  background-color: transparent;
  color: #b0b0b0;
  border: 1px solid #666666;
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #b0b0b0;
}

.cookie-btn-customize {
  background-color: transparent;
  color: #00bfff;
  border: 1px solid #00bfff;
}

.cookie-btn-customize:hover {
  background-color: rgba(0, 191, 255, 0.1);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal-content {
  background-color: white;
  border-radius: 8px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 24px;
  color: #1a1a2e;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666666;
  transition: color 0.2s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: #1a1a2e;
}

.cookie-group {
  margin-bottom: 24px;
  padding: 16px;
  background-color: #f8f9ff;
  border-radius: 6px;
}

.cookie-group h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #1a1a2e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-group-description {
  margin: 0;
  font-size: 13px;
  color: #666666;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #0066cc;
}

.cookie-toggle label {
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  color: #1a1a2e;
}

.cookie-essential {
  background-color: #f0f0f0;
}

.cookie-essential input[type="checkbox"] {
  cursor: not-allowed;
}

.cookie-essential label {
  cursor: default;
  color: #666666;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.cookie-modal-accept,
.cookie-modal-reject {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-modal-accept {
  background-color: #0066cc;
  color: white;
}

.cookie-modal-accept:hover {
  background-color: #0052a3;
}

.cookie-modal-reject {
  background-color: transparent;
  color: #666666;
  border: 1px solid #e0e0e0;
}

.cookie-modal-reject:hover {
  background-color: #f8f9ff;
  border-color: #ccc;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 16px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .cookie-btn {
    flex: 1;
    min-width: 80px;
  }

  .cookie-modal-content {
    padding: 24px;
    width: 95%;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal-accept,
  .cookie-modal-reject {
    width: 100%;
  }
}
