.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1F2937;
  color: white;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: #1E40AF;
  color: white;
  border-color: #1E40AF;
}

.cookie-btn-accept:hover {
  background-color: #1E3A8A;
  border-color: #1E3A8A;
}

.cookie-btn-reject {
  background-color: transparent;
  color: white;
  border-color: #6B7280;
}

.cookie-btn-reject:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-customize {
  background-color: transparent;
  color: white;
  border-color: #9CA3AF;
}

.cookie-btn-customize:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-primary {
  background-color: #1E40AF;
  color: white;
  border-color: #1E40AF;
}

.cookie-btn-primary:hover {
  background-color: #1E3A8A;
  border-color: #1E3A8A;
}

.cookie-link {
  color: #93C5FD;
  text-decoration: underline;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.cookie-link:hover {
  color: #BFDBFE;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.cookie-modal-content {
  background-color: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.cookie-modal-header h3 {
  margin: 0;
  color: #1F2937;
  font-size: 1.5rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #6B7280;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.cookie-modal-close:hover {
  background-color: #F3F4F6;
  color: #1F2937;
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-category {
  margin-bottom: 24px;
}

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

.cookie-category-header {
  margin-bottom: 8px;
}

.cookie-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.cookie-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #1E40AF;
}

.cookie-checkbox-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-category-title {
  font-weight: 600;
  color: #1F2937;
  font-size: 1.125rem;
}

.cookie-category-desc {
  color: #6B7280;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  padding-left: 32px;
}

.cookie-modal-footer {
  padding: 24px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-modal-footer .cookie-btn {
  padding: 12px 24px;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }
}
