/* ============================================================
   Tamarack Medical Clinic — Cookie consent banner
   Plain, calm, and matches the system's navy/parchment/green
   palette. No dark patterns: Accept and Decline get equal weight.
   ============================================================ */

#tmc-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px var(--space-lg);
}

@media (prefers-reduced-motion: no-preference) {
  #tmc-cookie-banner {
    animation: tmc-banner-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes tmc-banner-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
}

.tmc-cookie-inner {
  max-width: var(--container-grid);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.tmc-cookie-inner p {
  margin: 0;
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}

.tmc-cookie-inner a {
  color: var(--color-green);
  font-weight: 600;
  text-decoration: underline;
}

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

.tmc-cookie-actions button {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tmc-cookie-actions button:hover {
  transform: translateY(-2px);
}

.tmc-cookie-actions button[data-action="decline"] {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.tmc-cookie-actions button[data-action="accept"] {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .tmc-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .tmc-cookie-actions {
    justify-content: flex-end;
  }
}
