/* Base */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

main {
  padding: 1rem;
  max-width: 700px;
  margin: auto;
}

/* Header */
header {
  background: #004d40;
  color: white;
  text-align: center;
  padding: 1rem;
}

header .header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 600px) {
  header .header-content {
    flex-direction: row;
    gap: 1rem;
  }
}

.logo-wrapper {
  background: white;
  border-radius: 50%;
  padding: 0.5rem;
}

header img {
  max-width: 80px;
  display: block;
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
}

header p {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

/* Intro */
.intro {
  background: #fff3e0;
  border-left: 6px solid #ff9800;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.intro h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

/* Actions */
.action {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.action h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.action p {
  margin: 0 0 1rem;
}

/* Buttons */
.button {
  display: block;
  text-align: center;
  background: #00796b;
  color: white;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.button:hover,
.button:focus {
  background: #004d40;
}

/* Sessions */
.session-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.session {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  width: 220px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.session p {
  margin: 0 0 0.8rem 0;
  font-size: 0.95rem;
  color: #333;
}

/* Tabs */
.tabs {
  max-width: 800px;
  margin: 2rem auto;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.tab-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  background: #f8f8f8;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.tab-btn.active {
  background: #004d40;
  color: white;
  border-color: #004d40;
}

.tab-content {
  display: none;
  text-align: center;
}

.tab-content.active {
  display: block;
}

.tab-content img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Legend */
.legend {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  margin: 0 auto 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.legend li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.legend-box {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  border-radius: 3px;
}

.color-16 { background: #991b1e; }
.color-12 { background: #d73227; }
.color-6  { background: #fcba82; }
.color-46 { background: #8b90bd; }
.color-34 { background: #c7c9db; }

.legend-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* guarantee a true square even with borders */
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;

  /* visual styling */
  border: 2px solid #333;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;            /* prevents baseline stretching */
  vertical-align: middle;
  margin-right: 0.5rem;

  /* extra safeguard for modern browsers */
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;

  /* optional smoothing */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links */
.links {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.links ul {
  padding-left: 1.2rem;
}

.links a {
  color: #00796b;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem;
  color: #555;
}

/* Contact Lists */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-list a {
  color: #00796b;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.email-template {
  background: #fff3e0;
  border-left: 6px solid #ff9800;
  border-radius: 6px;
  padding: 1rem;
  margin: 2rem 0;
  position: relative;
}

.email-template h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.copy-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #00796b;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-weight: bold;
}

.copy-btn:hover {
  background: #004d40;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.urgency {
  background: #ffebee;
  border-left: 6px solid #d32f2f;
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
  color: #b71c1c;
}

.urgency h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #d32f2f;
}
