/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.97);
  color: #fff;
  padding: 1rem 1.5rem;
  z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
  display: none !important;
}

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

.cookie-content h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.875rem;
  color: #ccc;
}

.cookie-content a {
  color: #6ee7a0;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ========== COOKIE MODAL ========== */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

.cookie-modal[hidden] {
  display: none !important;
}

.cookie-modal-content {
  background: #1a1a1a;
  color: #fff;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #333;
}

.cookie-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.btn-close {
  background: none;
  border: none;
  color: #999;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.btn-close:hover {
  color: #fff;
}

.cookie-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #333;
}

.cookie-category:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-category-header {
  margin-bottom: 0.5rem;
}

.cookie-category-header label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.cookie-category-header input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cookie-category-description {
  margin: 0;
  padding-left: 2rem;
  font-size: 0.875rem;
  color: #999;
  line-height: 1.5;
}

.badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.badge-required {
  background: #2d5a3d;
  color: #6ee7a0;
}

.cookie-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #333;
  display: flex;
  justify-content: flex-end;
}