/* VENDORS-CSS VERSION: FINAL-20260106-192615-6P5X */
:root{
  --ink:#0d1b2a; --muted:#5c6b7a; --bg:#f6f8fb; --card:#ffffff; --line:#e6edf5;
  --primary:#0b5ed7; --primary-dark:#0849a6; --accent:#d40000;
}
*{box-sizing:border-box} html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,'Helvetica Neue',Arial,sans-serif;
  color:var(--ink);
  background: radial-gradient(1000px 600px at 10% -10%, #eaf2ff 0%, #f6f8fb 60%, #f6f8fb 100%) fixed, var(--bg);
  line-height:1.55;
}
img{max-width:100%;height:auto;display:block}
.container{max-width:1140px;margin:0 auto;padding:0 20px}

/* Header */
.masthead{background:linear-gradient(180deg, #0e2a55 0%, #143a77 100%); color:#fff; border-bottom:4px solid var(--accent);}
.mast-inner{display:flex; align-items:center; gap:18px; padding:22px 0; justify-content:center;}
.mast-logo{height:88px;width:auto;filter:drop-shadow(0 3px 8px rgba(0,0,0,.3))}
.mast-title{display:flex; flex-direction:column; line-height:1.05; text-align:left}
.mast-line1{font-size:2.1rem; font-weight:900; letter-spacing:.2px}
.mast-line2{font-size:1.5rem; font-weight:800; opacity:.96}

/* Sections + cards */
.hero-welcome{
  background:#fff; border:1px solid var(--line); border-radius:14px; margin:22px auto 10px;
  padding:18px 20px; text-align:center; box-shadow:0 6px 18px rgba(20,58,119,.06);
}
.hero-welcome .headline{font-family:Georgia,'Times New Roman',serif; font-size:2rem; font-weight:700; color:#0e2a55;}
.feature-split{margin:36px 0}
.feature-wrap{display:flex; flex-wrap:wrap; gap:28px; justify-content:center; align-items:center;}
.feature-left, .feature-right{flex:1 1 380px; max-width:520px}
.flyer{
  border-radius:12px;
  border:1px solid var(--line);
  box-shadow:0 8px 22px rgba(14,42,85,.15);
  width:90%;
  max-height:80vh;
  object-fit:contain;
  margin:0 auto;
}
.card{background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 10px 24px rgba(14,42,85,.10); padding:26px; text-align:center;}
.card h2{margin:0 0 14px;font-size:1.75rem;color:#0e2a55}
.stack-12>*+*{margin-top:12px} .stack-16>*+*{margin-top:16px} .stack-20>*+*{margin-top:20px}

/* Buttons */
.btn{display:inline-block; text-decoration:none; font-weight:800; padding:12px 20px; border-radius:10px;
    transition:transform .05s ease, box-shadow .2s ease, background .2s ease; box-shadow:0 6px 14px rgba(11,94,215,.18);}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--primary); color:#fff;} .btn-primary:hover{background:var(--primary-dark)}
.btn-ghost{background:#fff; color:#143a77; border:2px solid #143a77; box-shadow:none;} .btn-ghost:hover{background:#f0f6ff}

/* Countdown footer */
.countdown-bar{background:linear-gradient(180deg, #143a77 0%, #0e2a55 100%); color:#fff; border-top:4px solid var(--accent); margin-top:42px;}
.countdown-inner{padding:26px 0; text-align:center}
.countdown-title{font-size:1.15rem; font-weight:900; letter-spacing:.02em; opacity:.92}
.countdown-time{font-size:2.1rem; font-weight:1000; margin:10px 0 16px}
.addcal{display:inline-block; background:#fff; color:#143a77; font-weight:900; border-radius:10px; padding:12px 18px; text-decoration:none; border:2px solid #fff}
.addcal:hover{background:#e6f0ff; color:#0e2a55}

footer{border-top:1px solid var(--line); background:#fff}
footer .container{padding:16px 0; color:#5c6b7a; font-size:.95rem}

/* Mobile tweaks */
@media (max-width: 480px){
  .mast-logo{height:56px}
  .mast-line1{font-size:1.6rem}
  .mast-line2{font-size:1.2rem}
  .card h2{font-size:1.35rem}
  .countdown-time{font-size:1.6rem}
}


/* Red Outline Clear Orders Button */
.btn-clear-danger {
    background-color: #ffffff !important;  /* white background */
    color: #004aad !important;              /* blue text */
    border: 3px solid #c00000 !important;  /* red outline */
    border-radius: 8px !important;
    padding: 10px 16px !important;
}
.btn-clear-danger:hover {
    background-color: #ffe5e5 !important;
    border-color: #a00000 !important;
    color: #004aad !important;
}
/* Larger Ticket Button */
.btn-big-ticket {
    font-size: 1.4rem !important;
    padding: 18px 28px !important;
}

/* Bigger ticket button */
.btn-big-ticket {
    font-size: 1.4rem !important;
    padding: 18px 28px !important;
}

/* Gentle glowing pulse around the ticket button */
@keyframes pulse {
    0%  { box-shadow: 0 0 0px rgba(192, 0, 0, 0.0); }
    50%  { box-shadow: 0 0 18px rgba(192, 0, 0, 0.7); }
    100% { box-shadow: 0 0 0px rgba(192, 0, 0, 0.0); }
}

.pulse-button {
    animation: pulse 1.6s infinite;
}

/* Mobile – stack flyer and event highlights */
@media (max-width: 600px) {
  .feature-wrap {
    flex-direction: column !important;
    align-items: center !important;
  }

  .feature-left,
  .feature-right {
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin-bottom: 20px !important;
  }

  .flyer {
    width: 100% !important;
    max-width: 500px !important;
  }

  .card {
    width: 100% !important;
    max-width: 900px !important;
  }
}

/* Keep Date/Time column on one line in admin tables */
table th:first-child,
table td:first-child {
    white-space: nowrap;
}

/* Center text inside admin action buttons */
.btn.btn-danger-outline{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.admin-danger-row a,
.danger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* ===== Vendors Page ===== */
.vendors-header{
  padding: 18px 14px 8px;
  max-width: 1600px;
  margin: 0 auto;
}
.vendors-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.vendors-header h1{
  margin:0;
  font-size: 1.8rem;
}
.vendors-home-btn{
  display:inline-block;
  padding: 10px 14px;
  border: 2px solid #b91c1c;
  color: #b91c1c;
  background: #ffffff;
  border-radius: 10px;
  text-decoration:none;
  font-weight: 700;
}
.vendors-home-btn:hover{
  background:#b91c1c;
  color:#ffffff;
}
.vendors-subtitle{
  margin: 8px 0 0;
  color:#4b5563;
}

.vendors-wrap{
  max-width: 1600px;
  margin: 0 auto;
  padding: 14px 14px 40px;
}

.vendors-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
  gap: 20px;
  max-width: none;
}

/* 5:3 business-card boxes */
.vendor-card{
  position: relative;
  aspect-ratio: 5 / 3;
  border: 2px solid #111827;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.vendor-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

.vendor-card img{
  width: 100%;
  height: 100%;
  object-fit: contain ! important;
  background: #ffffff;
  padding: 0;
}

/* Vendor name overlay (until you have real business cards) */
.vendor-name{
  position:absolute;
  top:10px;
  left:10px;
  right:10px;
  text-align:center;
  font-weight:900;
  color:#111827;
  background:rgba(255,255,255,.88);
  padding:6px 10px;
  border-radius:12px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding: 0 10px;
}

/* Auto-hide vendor name when a real card image is present (non-placeholder).
   Fallback: if :has() not supported, the name stays visible (safe). */
@supports selector(.vendor-card:has(img)) {
  .vendor-card:has(img:not([src*="placeholder"])) .vendor-name{
    display:none;
  }
}

/* Subtle hover zoom for polish */
.vendor-card img{
  transition: transform .18s ease;
}
.vendor-card:hover img{
  transform: scale(1.04);
}

/* Keyboard accessibility */
.vendor-card:focus-visible{
  outline: 3px solid #0b5ed7;
  outline-offset: 3px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .vendor-card, .vendor-card img{
    transition: none !important;
  }
  .vendor-card:hover img{
    transform: none !important;
  }
}

/* Mobile */
@media (max-width: 900px){
  .vendors-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .vendors-grid{ grid-template-columns: 1fr; }
}

.admin-button-row {
	display:  flex;
	justify-content:  center;
	gap:  20px;
}
.admin-button-row  form {
	margin:  0;
}

/* FORCE vendor images to fit without cropping */
.vendors-grid img{
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #ffffff;
}

/* Vendor cards: if any are background-images, don't crop */
.vendors-grid a{
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.vendor-card {
   padding: 10px;
}

.vendors-grid a.vendor-card{
  padding: 10px !important;
  box-sizing: border-box !important;
}

.vendors-grid a.vendor-card img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
