/* Alpine Obsidian Host Section Styles for Live YUL Flight Information Board */
.yul-board-shell {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.96) 0%, rgba(9, 14, 26, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.yul-board-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.yul-board-tabs {
  display: inline-flex;
  gap: 6px;
  background: rgba(2, 6, 23, 0.72);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.yul-board-tab {
  appearance: none;
  background: transparent;
  color: #94a3b8;
  border: 0;
  border-radius: 7px;
  padding: 9px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.yul-board-tab:hover {
  color: #f8fafc;
}

.yul-board-tab.is-active {
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
  color: #0b1120;
  font-weight: 700;
}

.yul-board-search-wrap {
  position: relative;
  flex: 1 1 280px;
  max-width: 440px;
}

.yul-board-search {
  width: 100%;
  background: #090e1a;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  padding: 10px 38px 10px 14px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.yul-board-search::placeholder {
  color: #64748b;
}

.yul-board-search:focus {
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(203, 213, 225, 0.18);
}

.yul-board-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  border: 0;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.yul-board-clear.is-visible {
  display: inline-flex;
}

.yul-board-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.85rem;
  color: #cbd5e1;
}

.yul-board-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.yul-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.75);
  display: inline-block;
  flex-shrink: 0;
}

.yul-board-quick-book {
  white-space: nowrap;
}

.yul-board-frame-wrap {
  position: relative;
  background: #090e1a;
  min-height: 520px;
}

.yul-board-iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  background: #090e1a;
}

.yul-board-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(11, 17, 32, 0.96);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.8rem;
  color: #94a3b8;
}

.yul-board-footer a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yul-seo-reference {
  margin-top: 1.5rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.yul-seo-reference summary {
  cursor: pointer;
  font-weight: 600;
  color: #f1f5f9;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yul-seo-reference summary::-webkit-details-marker {
  display: none;
}

.yul-seo-reference summary::after {
  content: "+";
  font-size: 1.2rem;
  color: #94a3b8;
  font-weight: 400;
}

.yul-seo-reference[open] summary::after {
  content: "−";
}

.yul-seo-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.88rem;
  color: #cbd5e1;
}

.yul-seo-ref-grid h3 {
  font-size: 0.92rem;
  color: #f8fafc;
  margin: 0 0 0.4rem;
}

.yul-seo-ref-grid p {
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .yul-board-toolbar {
    padding: 14px;
  }
  .yul-board-tabs {
    width: 100%;
  }
  .yul-board-tab {
    flex: 1 1 50%;
    text-align: center;
  }
  .yul-board-search-wrap {
    max-width: none;
    width: 100%;
  }
  .yul-board-cta-bar,
  .yul-board-footer {
    padding: 12px 14px;
  }
  .yul-board-frame-wrap,
  .yul-board-iframe {
    min-height: 460px;
    height: 460px;
  }
}
