/* =========================================================
   Shared by all sample sites:
   - the "Sample website by Loop Web Co." strip at the top
   - the message shown after a demo form is "sent"
   - today's row highlight in hours tables
   ========================================================= */

.sample-bar {
  position: relative;
  z-index: 200;
  background: #14284b;
  color: #d3dbe8;
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.sample-bar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0.5rem 1rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem;
}
.sample-bar p { margin: 0; flex: 1 1 200px; }
.sample-bar strong { color: #fff; }
.sample-bar a { color: #f5a46b; }
.sample-bar a:hover { color: #fff; }

.sample-features { position: relative; }
.sample-features summary {
  cursor: pointer; list-style: none;
  padding: 0.25rem 0.75rem; border-radius: 999px;
  background: #e8772e; color: #0d1b33; font-weight: 700;
}
.sample-features summary::-webkit-details-marker { display: none; }
.sample-features summary::after { content: " \25BE"; }
.sample-features[open] summary::after { content: " \25B4"; }
.sample-features ul {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: min(320px, calc(100vw - 2rem));
  margin: 0; padding: 1rem 1rem 1rem 2rem;
  background: #fff; color: #1f2a3d;
  border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.sample-features li { margin-bottom: 0.35rem; }
@media (max-width: 600px) {
  .sample-features { position: static; }
  .sample-features ul { left: 1rem; right: 1rem; width: auto; }
}

/* Shown in place of a demo form after "submitting" */
.demo-success {
  padding: 1.5rem; border-radius: 10px;
  background: #e9f7ef; border: 2px solid #2f9e5b; color: #14532d;
}
.demo-success strong { display: block; font-size: 1.15rem; margin-bottom: 0.3rem; }
.demo-success p { margin: 0; }

/* Make sure anything JavaScript hides (filters, tabs) really disappears,
   even if its own styles set a display value */
[hidden] { display: none !important; }

/* Today's row in an hours table */
.is-today { font-weight: 700; }
