body {
  background-color: #0a1a2f;
  color: #f8f8f8;
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 0;
}

header img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

nav {
  background: #111c35;
  padding: 10px;
  text-align: center;
  z-index: 1000;
position: sticky;
top: 0;

}

nav a {
  color: #f9d342;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.1em;
}

nav a:hover {
  color: #ffe155;
}

.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

h1 {
  text-align: center;
  color: #f9d342;
  margin-bottom: 10px;
}

h2 {
  color: #f9d342;
  text-shadow: 2px 2px #000;
  font-size: 2em;
  border-bottom: 2px solid #f9d342;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

p {
  font-size: 1.2em;
  line-height: 1.6em;
}

.button {
  background: #f9d342;
  color: #111c35;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 4px #c4a000;
}

.button:hover {
  background: #ffe155;
}

footer {
  background: #111c35;
  padding: 10px;
  font-size: 0.9em;
  color: #888;
  text-align: center;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#f9d342 1px, transparent 1px),
    radial-gradient(#ff3c3c 1px, transparent 1px),
    radial-gradient(#00bfff 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px, 12px 12px;
  opacity: 0.2;
  z-index: -1;
}

@media (max-width: 480px) {
  .content {
    padding: 15px 10px;
  }

  label {
    font-size: 0.9em;
  }

  input[type=submit],
  .button {
    width: 100%;
    padding: 12px;
    font-size: 1em;
  }
}

@media (max-width: 600px) {
  nav {
    text-align: center;
    padding: 8px;
  }

  nav a {
    display: block;
    margin: 6px 0;
  }
}

/* Calendar table */
table.calendar {
  border-collapse: separate;
  border-spacing: 4px 4px;
}

table.calendar th,
table.calendar td {
  padding: 4px;
  text-align: center;
  vertical-align: middle;
}

.calendar td.available {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 4px;
}

.calendar td.available a {
  color: #fff !important;
  font-weight: bold;
  text-decoration: none;
}

.calendar td.available:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Sessions Table - Desktop */
table.sessions {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;
  background-color: rgba(17, 28, 53, 0.8);
  color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(249, 211, 66, 0.2);
  margin: 20px 0;
}

table.sessions th,
table.sessions td {
  padding: 10px 15px;
  text-align: center;
  border-bottom: 1px solid rgba(249, 211, 66, 0.3);
}

table.sessions th {
  background-color: #111c35;
  color: #f9d342;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tr.full, tr.full td {
  background-color: #ff4c4c !important;
  color: #fff !important;
  font-weight: bold;
}


tr.low, tr.low td {
  background-color: #ffe155 !important;
  color: #000 !important;
  font-weight: bold;
}


/* Form */
form {
  background-color: rgba(17, 28, 53, 0.9);
  border: 2px solid #f9d342;
  border-radius: 8px;
  padding: 25px 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 15px rgba(249, 211, 66, 0.2);
}

label {
  display: block;
  margin: 12px 0 6px;
  font-weight: bold;
  color: #f9d342;
  text-transform: uppercase;
  font-size: 0.95em;
  letter-spacing: 0.5px;
}

input[type=text],
input[type=email],
input[type=number],
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Error Styling */
.error-message {
  color: #ff3c3c;
  font-weight: bold;
  font-size: 1.2em;
  margin: 10px 0;
}

.error-field {
  border: 2px solid #ff3c3c;
  background: #fff;
  color: #000;
}

/* Mobile-friendly sessions table */
@media (max-width: 600px) {
  table.sessions,
  table.sessions thead,
  table.sessions tbody,
  table.sessions th,
  table.sessions td,
  table.sessions tr {
    display: block;

  }

  table.sessions thead {
    display: none;
  }

  table.sessions tr {
    margin-bottom: 15px;
    border: 2px solid #f9d342;
    border-radius: 8px;
    background-color: rgba(17, 28, 53, 0.9);
    padding: 10px;
    box-shadow: 0 0 10px rgba(249, 211, 66, 0.2);
  }

  table.sessions td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    font-size: 0.95em;
    border: none;
    border-bottom: 1px solid rgba(249, 211, 66, 0.2);
  }

  table.sessions td:last-child {
    border-bottom: none;
  }

  table.sessions td::before {
    content: attr(data-label);
    font-weight: bold;
    font-size: 0.85em;
    color: #f9d342;
    margin-bottom: 2px;
  }
}
.content pre {
  color: #000;
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 10px;
}
img.feature-photo {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(249, 211, 66, 0.3);
}

@media (max-width: 800px) {
  img.feature-photo {
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  img.feature-photo {
    max-width: 90%;
  }
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.tab-button {
    padding: 10px 20px;
    background-color: #eee;
    border: none;
    cursor: pointer;
    margin-right: 5px;
    font-weight: bold;
    color: #111c35;
    border-radius: 5px 5px 0 0;
}
.tab-button.active {
    background-color: #fff;
    border-bottom: 2px solid white;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Small admin buttons */
.btn { 
  display:inline-block; 
  padding: 4px 10px; 
  font-size: 12px; 
  line-height: 1.2;
  border: 1px solid #bbb; 
  border-radius: 4px; 
  background:#f2f2f2; 
  color:#111;
  cursor:pointer;
}
.btn:hover { background:#e9e9e9; }
.btn--primary { background:#f9d342; color:#111c35; border-color:#e0c437; }
.btn--danger { background:#c0392b; color:#fff; border-color:#a93226; }
.btn--ghost { background:transparent; }

#ayrcade-social-proof {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  pointer-events: none; /* click-through */
}

.ayrcade-toast {
  pointer-events: auto; /* allow closing if you add an X later */
  min-width: 260px;
  max-width: 320px;
  background: #111;          /* Dark, arcade-y; tweak to your brand */
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transform: translateY(10px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  font: 500 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  border: 2px solid #FFE600; /* Ayrcade yellow accent */
}

.ayrcade-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.ayrcade-toast .ayrcade-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
}

.ayrcade-toast .ayrcade-sub {
  font-size: 12px;
  opacity: .8;
}

.badge-popular {
  margin-left: 6px;
  font-size: 0.95em;
  vertical-align: text-bottom;
  cursor: help; /* native tooltip on hover */
}

.breadcrumbs ol{display:flex;gap:.75rem;list-style:none;padding:0;margin:.5rem 0 1rem}
.breadcrumbs li{padding:.3rem .6rem;border:1px solid #ddd;border-radius:999px;font-size:.9rem;color:#333;background:#fff}
.breadcrumbs .current{background:#111c35;color:#fff;border-color:#111c35;font-weight:700}

.calendar-nav{display:flex;gap:.5rem;align-items:center;margin:.5rem 0 1rem}
.calendar-nav__link{display:inline-block;padding:.35rem .6rem;border:1px solid #ddd;border-radius:8px;background:#f8f8f8;color:#111;text-decoration:none;font-size:.95rem}
.calendar-nav__link:hover{background:#f1f1f1}


/* === Ayrcade × Bootstrap compat theme === */
/* Apply your theme *only* when body has .ay-theme */
.ay-theme {
  --ay-blue: #0a1a2f;
  --ay-blue-dark: #111c35;
  --ay-yellow: #f9d342;
  --ay-yellow-hover: #ffe155;
  --ay-text: #f8f8f8;
}

/* Body + background overlay */
.ay-theme body, body.ay-theme {
  background-color: var(--ay-blue);
  color: var(--ay-text);
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 0;
}
body.ay-theme::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(#f9d342 1px, transparent 1px),
                    radial-gradient(#ff3c3c 1px, transparent 1px),
                    radial-gradient(#00bfff 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px, 12px 12px;
  opacity: 0.2; z-index: -1;
}

/* Header */
body.ay-theme header img {
  max-width: 100%; display: block; margin: 0 auto;
}

/* Keep your custom nav, but don't affect Bootstrap navbars */
body.ay-theme nav:not(.navbar) {
  background: var(--ay-blue-dark);
  padding: 10px;
  text-align: center;
  z-index: 1000;
  position: sticky; top: 0;
}
body.ay-theme nav:not(.navbar) a {
  color: var(--ay-yellow);
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.1em;
}
body.ay-theme nav:not(.navbar) a:hover { color: var(--ay-yellow-hover); }

/* Content wrapper (doesn't fight Bootstrap cards) */
body.ay-theme .content {
  max-width: 900px; margin: 0 auto;
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Headings on blue background */
body.ay-theme h1 {
  text-align: center; color: var(--ay-yellow); margin-bottom: 10px;
}
body.ay-theme h2 {
  color: var(--ay-yellow);
  text-shadow: 2px 2px #000;
  font-size: 2em;
  border-bottom: 2px solid var(--ay-yellow);
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
}
body.ay-theme p { font-size: 1.2em; line-height: 1.6em; }

/* Your yellow CTA button (doesn't clash with Bootstrap .btn) */
body.ay-theme .button {
  background: var(--ay-yellow);
  color: var(--ay-blue-dark);
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 4px #c4a000;
}
body.ay-theme .button:hover { background: var(--ay-yellow-hover); }

/* Footer */
body.ay-theme footer {
  background: var(--ay-blue-dark);
  padding: 10px;
  font-size: 0.9em;
  color: #888;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  body.ay-theme .content { padding: 15px 10px; }
  body.ay-theme label { font-size: 0.9em; }
  body.ay-theme input[type=submit], 
  body.ay-theme .button { width: 100%; padding: 12px; font-size: 1em; }
}
@media (max-width: 600px) {
  body.ay-theme nav:not(.navbar) { text-align: center; padding: 8px; }
  body.ay-theme nav:not(.navbar) a { display: block; margin: 6px 0; }
}

/* Calendar */
body.ay-theme table.calendar { border-collapse: separate; border-spacing: 4px 4px; }
body.ay-theme table.calendar th,
body.ay-theme table.calendar td { padding: 4px; text-align: center; vertical-align: middle; }
body.ay-theme .calendar td.available {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff; border-radius: 4px;
}
body.ay-theme .calendar td.available a {
  color: #fff !important; font-weight: bold; text-decoration: none;
}
body.ay-theme .calendar td.available:hover { background-color: rgba(255, 255, 255, 0.3); }

/* Sessions table (your custom one) */
body.ay-theme table.sessions {
  width: 100%; border-collapse: separate; border-spacing: 0 5px;
  background-color: rgba(17, 28, 53, 0.8);
  color: #f8f8f8; border-radius: 8px;
  box-shadow: 0 0 10px rgba(249, 211, 66, 0.2);
  margin: 20px 0;
}
body.ay-theme table.sessions th,
body.ay-theme table.sessions td {
  padding: 10px 15px; text-align: center;
  border-bottom: 1px solid rgba(249, 211, 66, 0.3);
}
body.ay-theme table.sessions th {
  background-color: var(--ay-blue-dark); color: var(--ay-yellow);
  font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px;
}
body.ay-theme tr.full, body.ay-theme tr.full td {
  background-color: #ff4c4c !important; color: #fff !important; font-weight: bold;
}
body.ay-theme tr.low, body.ay-theme tr.low td {
  background-color: #ffe155 !important; color: #000 !important; font-weight: bold;
}

/* Legacy *forms/inputs/buttons* — only when wrapped in .ay-legacy */
.ay-legacy form {
  background-color: rgba(17, 28, 53, 0.9);
  border: 2px solid var(--ay-yellow);
  border-radius: 8px;
  padding: 25px 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 15px rgba(249, 211, 66, 0.2);
}
.ay-legacy label {
  display: block; margin: 12px 0 6px;
  font-weight: bold; color: var(--ay-yellow);
  text-transform: uppercase; font-size: 0.95em; letter-spacing: 0.5px;
}
.ay-legacy input[type=text],
.ay-legacy input[type=email],
.ay-legacy input[type=number],
.ay-legacy select {
  width: 100%; padding: 8px;
  border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
}

/* Error styles (safe to keep global) */
.error-message { color: #ff3c3c; font-weight: bold; font-size: 1.2em; margin: 10px 0; }
.error-field { border: 2px solid #ff3c3c; background: #fff; color: #000; }

/* Mobile-friendly sessions table */
@media (max-width: 600px) {
  body.ay-theme table.sessions,
  body.ay-theme table.sessions thead,
  body.ay-theme table.sessions tbody,
  body.ay-theme table.sessions th,
  body.ay-theme table.sessions td,
  body.ay-theme table.sessions tr { display: block; }
  body.ay-theme table.sessions thead { display: none; }
  body.ay-theme table.sessions tr {
    margin-bottom: 15px; border: 2px solid var(--ay-yellow);
    border-radius: 8px; background-color: rgba(17, 28, 53, 0.9);
    padding: 10px; box-shadow: 0 0 10px rgba(249, 211, 66, 0.2);
  }
  body.ay-theme table.sessions td {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 8px; font-size: 0.95em; border: none;
    border-bottom: 1px solid rgba(249, 211, 66, 0.2);
  }
  body.ay-theme table.sessions td:last-child { border-bottom: none; }
  body.ay-theme table.sessions td::before {
    content: attr(data-label);
    font-weight: bold; font-size: 0.85em; color: var(--ay-yellow); margin-bottom: 2px;
  }
}

/* Pre/code block inside .content */
body.ay-theme .content pre {
  color: #000; background: #f9f9f9; border: 1px solid #ccc; padding: 10px;
}

/* Feature image */
body.ay-theme img.feature-photo {
  width: 100%; max-width: 500px; height: auto; display: block; margin: 20px auto;
  border-radius: 8px; box-shadow: 0 0 15px rgba(249, 211, 66, 0.3);
}
@media (max-width: 800px){ body.ay-theme img.feature-photo { max-width: 350px; } }
@media (max-width: 480px){ body.ay-theme img.feature-photo { max-width: 90%; } }

/* Tabs */
body.ay-theme .tabs{ display:flex; justify-content:center; margin-bottom:20px; }
body.ay-theme .tab-button{
  padding:10px 20px; background-color:#eee; border:none; cursor:pointer; margin-right:5px;
  font-weight:bold; color: var(--ay-blue-dark); border-radius: 5px 5px 0 0;
}
body.ay-theme .tab-button.active{ background-color:#fff; border-bottom: 2px solid #fff; }
body.ay-theme .tab-content{ display:none; }
body.ay-theme .tab-content.active{ display:block; }

/* Social proof toasts */
#ayrcade-social-proof { position: fixed; right:16px; bottom:16px; z-index: 1090; pointer-events:none; }
.ayrcade-toast {
  pointer-events:auto; min-width:260px; max-width:320px;
  background:#111; color:#fff; border-radius:14px; padding:12px 14px; margin-top:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.25); transform:translateY(10px); opacity:0;
  transition: transform .35s ease, opacity .35s ease;
  font: 500 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  border: 2px solid #FFE600;
}
.ayrcade-toast.show { transform: translateY(0); opacity:1; }
.ayrcade-toast .ayrcade-title{ font-weight:700; margin-bottom:4px; font-size:14px; }
.ayrcade-toast .ayrcade-sub{ font-size:12px; opacity:.8; }

/* “Small admin buttons” — avoid clashing with Bootstrap .btn by scoping */
.ay-admin .btn { 
  display:inline-block; padding: 4px 10px; font-size: 12px; line-height: 1.2;
  border: 1px solid #bbb; border-radius: 4px; background:#f2f2f2; color:#111; cursor:pointer;
}
.ay-admin .btn:hover { background:#e9e9e9; }
.ay-admin .btn--primary { background:var(--ay-yellow); color:var(--ay-blue-dark); border-color:#e0c437; }
.ay-admin .btn--danger { background:#c0392b; color:#fff; border-color:#a93226; }
.ay-admin .btn--ghost { background:transparent; }

/* Breadcrumbs + calendar nav (no Bootstrap conflicts) */
body.ay-theme .breadcrumbs ol{display:flex;gap:.75rem;list-style:none;padding:0;margin:.5rem 0 1rem}
body.ay-theme .breadcrumbs li{padding:.3rem .6rem;border:1px solid #ddd;border-radius:999px;font-size:.9rem;color:#333;background:#fff}
body.ay-theme .breadcrumbs .current{background:#111c35;color:#fff;border-color:#111c35;font-weight:700}
body.ay-theme .calendar-nav{display:flex;gap:.5rem;align-items:center;margin:.5rem 0 1rem}
body.ay-theme .calendar-nav__link{display:inline-block;padding:.35rem .6rem;border:1px solid #ddd;border-radius:8px;background:#f8f8f8;color:#111;text-decoration:none;font-size:.95rem}
body.ay-theme .calendar-nav__link:hover{background:#f1f1f1}
