/* Consistent top-banner button style for all pages */
.about-btn {
  background: var(--boston-mid);
  color: #fff;
  border: none;
  border-radius: 5px;
  height: 48px;
  min-width: 180px;
  padding: 0 24px;
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
/* Entertainment licenses styles adapted from licenses.css
   Uses the same color tokens and layout rules as styles/licenses.css */

:root {
  --boston-navy: #0b2340;
  --boston-mid: #123a5b;
  --boston-light: #f6f8fb;
  --boston-red: #c62828;
  --boston-muted: #475b6a;
  --desc-muted: #6b7280;
}

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111;
  margin: 24px;
}

/* Top banner and disclaimer (kept for consistency if added) */
.top-banner { background: #ffffff; margin: -24px -24px 12px -24px; padding: 12px 24px; display: flex; align-items: center; border-bottom: 1px solid rgba(11,35,64,0.06); }
.city-logo { height: 72px; width: auto; display: block; }

.disclaimer-banner { background: var(--boston-red); color: #fff; margin: 0 -24px 12px -24px; padding: 10px 24px; }
.disclaimer-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 14px; justify-content: center; }
.disclaimer-content .disclaimer-label { font-weight: 800; font-size: 1.2rem; }
.disclaimer-content .disclaimer-body { font-size: 1rem; }

@media (max-width:720px) {
  .disclaimer-content { flex-direction: column; gap: 6px; }
  .disclaimer-content .disclaimer-label { font-size: 1rem; }
  .disclaimer-content .disclaimer-body { font-size: 0.95rem; text-align: center; }
}

/* Header */
header { background: var(--boston-navy); color: #fff; padding: 16px 20px; border-radius: 6px; margin-bottom: 18px; }
header h1 { color: #fff; font-size: 2.2rem; font-weight: 800; line-height: 1.02; margin: 0 0 8px 0; }
header a { color: rgba(255,255,255,0.95); }

/* Example banner (select example businesses) */
.example-banner { background: #f8fbff; border: 1px solid rgba(18,58,91,0.06); padding: 14px; margin-bottom: 18px; display: block; }
.example-banner-inner { display:flex; gap: 16px; align-items:center; flex-wrap:wrap; justify-content:flex-start; }
.example-actions { display:flex; gap:12px; margin-left: 12px; }
.example-btn { background: var(--boston-red); color: #fff; border: none; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-weight:600; }
.example-btn:hover { background: #a31e1e; }
.example-btn:focus { outline: 3px solid rgba(198,40,40,0.18); }

#example-details { padding: 10px; background: #fff; border: 1px solid #e6eef8; border-radius: 6px; }

/* Example details close button */
.example-details { position: relative; }
.example-details .example-details-close { position: absolute; right: 8px; top: 8px; background: transparent; border: 1px solid rgba(11,35,64,0.06); padding: 6px 8px; border-radius: 6px; cursor: pointer; color: var(--boston-muted); }
.example-details .example-details-close:hover { background: rgba(11,35,64,0.04); color: var(--boston-navy); }
.example-details .example-details-body { padding-top: 6px; }

/* Layout */
.container { display: grid; grid-template-columns: 1fr 1fr 320px; gap: 20px; align-items: start; }

/* Cards */
.card { background: #fff; border-radius: 8px; padding: 1rem; margin: 1rem 0; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }

/* License list */
.licenses-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 1rem; }
.license-btn { display: block; padding: 12px 14px; background: #fff; border: 1px solid #e6eef8; border-radius: 8px; text-align: left; color: var(--boston-mid); text-decoration: none; cursor: pointer; }
.license-btn:hover { box-shadow: 0 2px 8px rgba(11, 87, 164, 0.08); }

/* Summary panel (sticky on desktop, fixed on narrow viewports) */
.summary { position: sticky; top: 20px; align-self: start; max-height: calc(100vh - 40px); overflow: auto; background: #fff; padding: 12px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.summary .total { margin-top: 12px; font-weight: 600; }

.muted { color: var(--boston-muted); font-size: 13px; }
.license-meta .muted { color: var(--desc-muted); }

@media (max-width:900px) {
  .container { grid-template-columns: 1fr; }
  .summary { position: fixed; right: 12px; top: 12px; width: 300px; max-width: 40vw; z-index: 999; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .container { padding-right: 336px; }
}

@media (max-width:480px) {
  .summary { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: none; border-radius: 0; box-shadow: 0 -4px 12px rgba(0,0,0,0.08); }
  .container { padding-right: 0; padding-bottom: 260px; }
}

/* Modal (matches licenses.css styling) */
.modal-backdrop { position: fixed; inset: 0; background: rgba(2, 6, 23, 0.5); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 60; }
.modal { background: #fff; border-radius: 10px; max-width: 720px; width: 100%; padding: 18px; box-shadow: 0 10px 30px rgba(2, 6, 23, 0.2); max-height: calc(100vh - 80px); overflow: auto; -webkit-overflow-scrolling: touch; }
.modal h3 { margin: 0 0 8px; }
.modal ol { margin-left: 1rem; }
.modal .close { background: var(--boston-mid); color: #fff; border: none; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.modal .close:focus { outline: 2px solid rgba(18,58,91,0.18); }

/* Fees Reform Modal Custom Styles */
#feesReformModal .modal {
  max-width: 600px;
  padding: 24px 24px 18px 24px;
}
#feesReformBody table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
}
#feesReformBody th, #feesReformBody td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
}
#feesReformBody th {
  background: var(--boston-light);
  text-align: left;
  font-weight: 700;
}
#feesReformBody td {
  font-size: 1rem;
}
#feesReformBody tr:last-child td {
  border-bottom: none;
}

