/* Fire Geo — light theme carried over from the original 2013 site
   (bootstrap-2 hero unit, whitesmoke event rows, red timestamps). */

* { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #333;
  font: 14px/20px 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a { color: #08c; text-decoration: none; }
a:hover { color: #005580; text-decoration: underline; }

/* ---- hero banner (original graphic) ------------------------------------- */

.hero-link, .hero-link:hover { text-decoration: none; color: inherit; }

.hero-unit {
  padding: 60px;
  background: #eee url('images/fire_geo_header_background.jpg') 0 -216px;
}
.hero-unit h1 {
  margin: 0;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1px;
  font-weight: bold;
  color: #333;
}

.container { max-width: 940px; margin: 0 auto; padding: 0 12px; }

/* ---- menubar (bootstrap-2 nav-tabs look) --------------------------------- */

#menubar {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
}
#menubar li { float: left; margin-bottom: -1px; }
#menubar li a {
  display: block;
  padding: 8px 14px;
  margin-right: 2px;
  line-height: 20px;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
}
#menubar li a:hover { background-color: #eee; border-color: #eee #eee #ddd; text-decoration: none; }
#menubar li.active a {
  color: #555;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  cursor: default;
}
#menubar li.login-status {
  float: right;
  padding: 9px 0;
  color: #999;
  white-space: nowrap;
}
#menubar li.login-status a {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
}
#menubar li.login-status a:hover { background: none; text-decoration: underline; }

/* ---- date bar ------------------------------------------------------------ */

.daynav {
  text-align: center;
  padding: 14px 0 18px;
  font-size: 15px;
}
.daynav .day-label { font-weight: bold; }
.daynav .disabled { color: #ccc; }

/* ---- event list ---------------------------------------------------------- */

.event {
  display: flex;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 6px 4px;
  border-bottom: 1px solid lightgray;
  background-color: whitesmoke;
  font-size: 12px;
}
.event:first-of-type { border-top: 1px solid lightgray; }

.event.triggered { background-color: #ebf8a4; }

.event-time {
  min-width: 74px;
  padding: 4px 6px 0 6px;
  text-align: left;
  color: red;
  font-size: 9px;
  line-height: 14px;
}
.event-time .clock { display: block; font-size: 12px; }
.event-time .ago { display: block; }

.event-body {
  flex: 1;
  min-width: 0;
  padding: 4px 10px;
  border-left: 1px dotted grey;
}
.event-body h2 {
  margin: 0;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
}
.event-body .address { margin: 0; overflow-wrap: anywhere; }
.event-body .meta { margin: 0; color: #777; overflow-wrap: anywhere; }

details { margin-top: 4px; }
summary { cursor: pointer; color: #08c; }
summary:hover { text-decoration: underline; }

.audio-players label { display: block; margin: 6px 0; color: #777; }
.audio-players audio { display: block; width: 100%; max-width: 420px; }

.event-details {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0 15px;
  margin: 8px 0 4px;
}
.event-details dt {
  padding: 4px;
  color: grey;
  text-align: right;
}
.event-details dd {
  margin: 0;
  padding: 4px;
  overflow-wrap: anywhere;
}

.empty { color: #999; text-align: center; padding: 40px 0; }

/* ---- forms (login / settings) -------------------------------------------- */

.card {
  background: whitesmoke;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  margin: 20px 0;
}
.card.narrow { max-width: 340px; margin-left: auto; margin-right: auto; }
.card h1 { margin: 0 0 14px; font-size: 22px; }

fieldset {
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fff;
}
legend { color: #555; font-weight: bold; padding: 0 6px; }

label { display: block; margin: 10px 0; color: grey; }
label.inline { display: flex; align-items: center; gap: 8px; }

input[type=text], input[type=tel], input[type=email],
input[type=password], input[type=number], textarea {
  display: block;
  width: 100%;
  max-width: 350px;
  margin-top: 4px;
  padding: 6px 8px;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}
input:focus, textarea:focus {
  outline: none;
  border-color: rgba(82, 168, 236, 0.8);
  box-shadow: 0 0 8px rgba(82, 168, 236, 0.6);
}

button {
  color: #fff;
  border: 1px solid #7d99ca;
  border-radius: 3px;
  padding: 8px 20px;
  font: inherit;
  font-weight: bold;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
  background-color: #a5b8da;
  background-image: linear-gradient(to bottom, #a5b8da, #7089b3);
}
button:hover {
  border-color: #5d7fbc;
  background-color: #819bcb;
  background-image: linear-gradient(to bottom, #819bcb, #536f9d);
}

.error { color: #b94a48; }
.saved { color: #468847; }

/* ---- footer --------------------------------------------------------------- */

.footer {
  text-align: center;
  padding: 50px;
  background-color: #C1DDFF;
  margin-top: 25px;
  font-size: 12px;
}

/* ---- small screens --------------------------------------------------------- */

@media (max-width: 600px) {
  .hero-unit { padding: 30px 20px; }
  .hero-unit h1 { font-size: 38px; }
  .event { flex-direction: column; gap: 2px; }
  .event-time { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
  .event-body { border-left: none; padding: 0 6px 4px; }
}
