body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f9;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background-color: #52aab2;
  color: white;
  padding: 1rem 2rem;
  text-align: center;
}

header .logo {
  font-size: 1.8rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin-top: 1rem;
}

nav ul li {
  cursor: pointer;
  color: white;
  font-weight: 500;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 2rem;
}

.card {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-4px);
}

/* Brand colors for each card */
.card-morning { background-color: #f0e6ff; /* or any light brand-compatible tone */ }
.ritual-text { line-height: 1.6; font-size: 1em; }
.card-rituals { background-color: #feb1a5; }
.card-mood { background-color: #e06539; color: white; }
.card-expenses { background-color: #52aab2; color: white; }
.card-vision { background-color: #fff3e0; }
.card-reports { background-color: #e1f3f3; }

h2 { margin-top: 0; }

form label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

form select, form input, form textarea, form button {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 0.3rem;
}

form button {
  background-color: #333;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background-color: #555;
}

.vision-list .vision-entry {
  margin-top: 1em;
  padding: 0.5em;
  background: #fff;
  border-radius: 8px;
}

.confirmation {
  animation: fadeOut 4s forwards;
  background:#d4edda; color:#155724;
  padding:1em; text-align:center; font-weight:bold;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; display: none; }
}
.info-icon {
  display: inline-block;
  width: 16px;         /* Small size, adjust if needed */
  height: 16px;
  background: url('assets/info-icon.svg') no-repeat center;
  background-size: contain;
  margin-left: 6px;
  vertical-align: middle;
  cursor: help;        /* Cursor shows it's interactive for tooltips */
}
nav ul li a {
  background-color: #333;
  color: white !important;
  padding: 0.5em 1em;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #555;
}
.card a {
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.card a:hover {
  opacity: 0.8;
}
.card-rituals a,
.card-vision a,
.card-reports a {
  color: #111; /* black or near-black */
}
.card-mood a,
.card-expenses a {
  color: #fff;
}
.play-button {
  background-color: #52aab2;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.6em 1.2em;
  font-size: 1em;
  cursor: pointer;
  margin-top: 1em;
  transition: background-color 0.3s ease;
}

.play-button:hover {
  background-color: #3a868a;
}
.info-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('assets/info-icon.svg') no-repeat center;
  background-size: contain;
  margin-left: 6px;
  vertical-align: middle;
  cursor: help;
  position: relative;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 0.5em;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-size: 0.6em; /* reduced to ~60% of base */
  font-style: italic;
  font-family: 'Cursive', sans-serif;
  z-index: 100;
}

.info-icon:hover::after {
  opacity: 1;
}

