/* EventFlow public styles */

.ef-calendar { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #111; margin: 24px 0; }

/* ---- Header / nav ---- */
.ef-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.ef-cal-title { margin: 0; font-size: 22px; font-weight: 700; flex: 1; text-align: center; }
.ef-nav { color: #555; text-decoration: none; padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; transition: background .15s; }
.ef-nav:hover { background: #f4f4f6; }

/* ---- Month grid ---- */
.ef-cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; }
.ef-cal-grid th { padding: 10px 6px; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #888; background: #fafafa; border: 1px solid #eee; }
.ef-cal-grid td { vertical-align: top; padding: 6px; border: 1px solid #eee; height: 110px; position: relative; background: #fff; }
.ef-cal-empty { background: #fafafa !important; }
.ef-day-num { font-size: 12px; color: #666; margin-bottom: 4px; font-weight: 500; }
.ef-today { background: #fffbe6 !important; }
.ef-today .ef-day-num { color: #c97300; font-weight: 700; }

.ef-event-pill { display: block; background: #111; color: #fff; padding: 3px 6px; margin-top: 3px; border-radius: 3px; font-size: 11px; line-height: 1.3; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ef-event-pill:hover { background: #333; color: #fff; }
.ef-event-time { opacity: .85; margin-right: 4px; }
.ef-event-title { font-weight: 500; }

/* ---- List view ---- */
.ef-list-items { list-style: none; padding: 0; margin: 0; }
.ef-list-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.ef-list-item:last-child { border-bottom: 0; }
.ef-list-date { width: 220px; font-size: 13px; color: #555; font-weight: 500; }
.ef-list-body { flex: 1; min-width: 200px; }
.ef-list-title { font-size: 16px; font-weight: 700; color: #111; text-decoration: none; display: block; margin-bottom: 2px; }
.ef-list-title:hover { color: #444; }
.ef-list-venue { color: #666; font-size: 13px; }
.ef-list-bands { color: #888; font-size: 12px; margin-top: 2px; }
.ef-list-buy { background: #111; color: #fff; padding: 8px 16px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ef-list-buy:hover { background: #333; color: #fff; }

.ef-pagination { padding: 16px; text-align: center; font-size: 13px; }
.ef-pagination a { color: #111; text-decoration: none; padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; margin: 0 4px; }
.ef-pagination a:hover { background: #f4f4f6; }
.ef-pagination span { margin: 0 12px; color: #666; }

.ef-empty { padding: 32px; text-align: center; color: #888; }

/* ---- Search bar ---- */
.ef-search { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.ef-search input[type=search], .ef-search select { padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.ef-search input[type=search] { flex: 1 1 200px; min-width: 160px; }
.ef-search select { flex: 0 1 140px; }
.ef-search button { background: #111; color: #fff; border: 0; padding: 8px 18px; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 500; }
.ef-search button:hover { background: #333; }

/* ---- Organizer submit form ---- */
.ef-organizer-form { max-width: 720px; margin: 24px 0; }
.ef-organizer-form .ef-input { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.ef-organizer-form textarea.ef-input { min-height: 60px; }
.ef-organizer-form .ef-row { display: flex; gap: 12px; flex-wrap: wrap; }
.ef-organizer-form .ef-col { flex: 1; min-width: 160px; }
.ef-organizer-form hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }
.ef-fee-note { font-size: 12px; color: #666; font-style: italic; }

.ef-btn { display: inline-block; padding: 10px 24px; border-radius: 4px; font-size: 14px; cursor: pointer; border: 0; text-decoration: none; }
.ef-btn-primary { background: #111; color: #fff; font-weight: 500; }
.ef-btn-primary:hover { background: #333; color: #fff; }

.ef-form-notice { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }
.ef-form-success { background: #e6f7e6; border: 1px solid #b3e0b3; color: #1e6e1e; }

.ef-my-events { width: 100%; border-collapse: collapse; margin-top: 16px; }
.ef-my-events th, .ef-my-events td { padding: 10px; text-align: left; border-bottom: 1px solid #eee; font-size: 14px; }
.ef-my-events th { background: #fafafa; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #666; }

/* ---- Mobile ---- */
@media (max-width: 720px) {
    .ef-cal-grid td { height: 80px; padding: 4px 2px; }
    .ef-day-num { font-size: 11px; }
    .ef-event-pill { font-size: 10px; padding: 2px 4px; }
    .ef-event-time { display: none; }
    .ef-list-date { width: 100%; }
    .ef-list-buy { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .ef-cal-grid th { font-size: 10px; padding: 6px 2px; }
    .ef-cal-grid td { height: 64px; }
}
