/* ============================================================
   shared/styles.css — Design system foundation
   Used by: heatmap/, relocation-guide/
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --gc-green:        #00473e;
  --gc-green-hover:  #047857;
  --gc-green-dark:   #065f46;
  --gc-green-darker: #125740;
  --gc-bg:           #f9fafb;
  --gc-border:       #e5e7eb;
  --gc-text:         #111827;
  --gc-text-muted:   #6b7280;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }

/* ===== TYPOGRAPHY ===== */
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gc-green);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  flex: 1;
  min-width: 160px;
  font-family: "Manrope", sans-serif;
  white-space: nowrap;
}

.btn-secondary {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  flex: 1;
  min-width: 160px;
  font-family: "Manrope", sans-serif;
  white-space: nowrap;
}

/* ===== MODAL SHELL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 14px;
}

.modal-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

/* ===== SPINNER ===== */
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #d1fae5;
  border-top-color: #065f46;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
