:root {
  --bg: transparent;
  --card: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d1d5db; /* optional */
  --text: #111827;
  --muted: #6b7280;
  --brand-soft: #eaf3ff;        /* Soft, light blue */
  --brand: #3f9cff;             /* Main brand color */
  --brand-strong: #0b3a82;      /* Strong blue for contrast */
  --brand-hover: #1e6fd0;       /* Slightly darker hover state */
  --brand-active: #1666c1;      /* Active state */
  --brand-button: #1d72d2;      /* Darker shade of the brand color */
  --shadow-form: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.cookie-bar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 900px;

  background: #ffffff;
  color: var(--text);

  padding: 16px 20px 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);

  display: none;
  z-index: 9999;

  font-family: system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.4;
  max-width: 700px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.cookie-actions .primary {
  background: var(--brand);
  color: #ffffff;
}

.cookie-actions .secondary {
  border: 1px solid var(--brand);
  background: #ffffff;
  color: var(--brand);
}

.cookie-actions .primary:hover {
  background: var(--brand-hover);
}

.cookie-actions .secondary:hover {
  border: 1px solid var(--brand-hover);
  background: #ffffff;
  color: var(--brand-hover);
}

/* Settings panel */

.cookie-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 80%;
  max-width: 600px;

  background: #ffffff;
  color: var(--text);

  padding: 12px 14px 14px 15px;
  border-radius: 10px;
  border: 1px solid var(--border);

  display: none;
  z-index: 10000;

  font-family: system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

.cookie-settings .title {
    margin: 0 0 16px 0;
    padding: 0;
    font-weight: 700;
}

.cookie-settings .strong {
    color: var(--brand-strong);
    font-weight: 600;
}

.cookie-settings label {
  display: block;
  margin: 10px 0;
  font-size: 14px;
}

.settings-actions {
  margin-top: 15px;
  text-align: right;
}

.cookie-settings button {
  padding: 8px 16px 9px 16px;
  border-radius: 999px;

  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.cookie-settings .primary {
  border: 1px solid var(--brand);
  background: #ffffff;
  color: var(--brand);
}

.cookie-settings .primary:hover {
  border: 1px solid var(--brand-hover);
  background: #ffffff;
  color: var(--brand-hover);
}

@media (max-width:980px) {
  .cookie-bar  {
    width: 90%;
  }

  .cookie-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .cookie-actions button {
    padding: 12px 18px 11px 18px;
    font-size: 16px;
  }
}

@media (max-width:600px) {
  .cookie-bar  {
    width: 90%;
  }

 .cookie-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cookie-actions button {
    padding: 12px 18px 11px 18px;
    font-size: 16px;
  }
}