.mtga-booking-wrap {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1f2937;
}

/* Event header */
.mtga-event-header { margin-bottom: 28px; }
.mtga-event-title  { font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.mtga-event-desc   { color: #6b7280; margin: 0 0 12px; }
.mtga-event-meta   { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; font-size: 14px; color: #374151; }
.mtga-event-meta li { display: flex; align-items: center; gap: 6px; }

/* Layout */
.mtga-booking-body { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* Calendar */
.mtga-calendar-section { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; }
.mtga-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mtga-cal-nav h3 { margin: 0; font-size: 16px; font-weight: 600; }
.mtga-nav-btn { background: none; border: 1px solid #d1d5db; border-radius: 6px; padding: 4px 12px; font-size: 18px; cursor: pointer; color: #374151; }
.mtga-nav-btn:hover { background: #f9fafb; }

.mtga-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mtga-cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: #6b7280; padding: 4px 0; }
.mtga-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    cursor: default;
    position: relative;
}
.mtga-cal-day.available {
    background: #eff6ff;
    color: #2563eb;
    cursor: pointer;
    font-weight: 600;
}
.mtga-cal-day.available:hover { background: #dbeafe; }
.mtga-cal-day.selected { background: #2563eb; color: #fff; }
.mtga-cal-day.today { box-shadow: inset 0 0 0 1px #2563eb; }
.mtga-cal-day.empty, .mtga-cal-day.past { color: #d1d5db; }
.mtga-cal-loading { grid-column: 1/-1; text-align: center; padding: 24px; color: #9ca3af; font-size: 14px; }

/* Slots */
.mtga-slots-section { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; }
.mtga-slots-section h3 { margin: 0 0 16px; font-size: 16px; }
.mtga-slots-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.mtga-slot-btn {
    padding: 10px 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: all .15s;
}
.mtga-slot-btn:hover  { border-color: #2563eb; color: #2563eb; background: #eff6ff; }
.mtga-slot-btn.selected { background: #2563eb; color: #fff; border-color: #2563eb; }
.mtga-no-slots { color: #9ca3af; font-size: 14px; }

/* Form */
.mtga-form-section { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; }
.mtga-form-section h3 { margin: 0 0 4px; font-size: 16px; }
.mtga-selected-slot { color: #2563eb; font-weight: 600; margin: 0 0 16px; }
.mtga-form-row { margin-bottom: 16px; }
.mtga-form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.mtga-form-row input,
.mtga-form-row textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s;
}
.mtga-form-row input:focus,
.mtga-form-row textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.mtga-form-actions { display: flex; gap: 12px; margin-top: 20px; }
.mtga-btn-primary {
    padding: 10px 24px; background: #2563eb; color: #fff;
    border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.mtga-btn-primary:hover { background: #1d4ed8; }
.mtga-btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.mtga-btn-secondary {
    padding: 10px 20px; background: #fff; color: #374151;
    border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; cursor: pointer;
}
.mtga-btn-secondary:hover { background: #f9fafb; }

/* Alerts */
.mtga-alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.mtga-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.mtga-alert-info  { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* Success */
.mtga-success-section { text-align: center; padding: 40px 20px; }
.mtga-success-icon { font-size: 56px; color: #10b981; line-height: 1; margin-bottom: 12px; }
.mtga-success-section h3 { font-size: 22px; margin: 0 0 8px; }
.mtga-success-section p  { color: #6b7280; }

/* required */
span.required { color: #ef4444; }

/* Reschedule page */
.mtga-reschedule-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 8px;
}
.mtga-current-booking {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 12px;
}
.mtga-current-label    { font-size: 11px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
.mtga-current-datetime { font-size: 17px; font-weight: 700; color: #1f2937; margin: 0 0 2px; }
.mtga-current-meta     { font-size: 13px; color: #6b7280; margin: 0; }

.mtga-section-label { font-size: 13px; font-weight: 600; color: #6b7280; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .05em; }

.mtga-reschedule-confirm {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
}
.mtga-confirm-row   { display: flex; align-items: center; gap: 16px; }
.mtga-confirm-label { font-size: 12px; font-weight: 600; color: #9ca3af; min-width: 48px; }
.mtga-confirm-value { font-size: 15px; font-weight: 600; color: #1f2937; }
.mtga-confirm-old   { text-decoration: line-through; color: #9ca3af; }
.mtga-confirm-new   { color: #2563eb; }
.mtga-confirm-arrow { text-align: center; color: #d1d5db; font-size: 18px; margin: 6px 0; }

/* Standalone page wrapper (reschedule rendered outside shortcode) */
.mtga-standalone-wrap { max-width: 860px; margin: 40px auto; padding: 0 20px; }
.mtga-error-box { text-align: center; padding: 60px 20px; }
.mtga-error-box h2 { font-size: 22px; margin-bottom: 8px; }
.mtga-error-box p  { color: #6b7280; margin-bottom: 20px; }

@media (max-width: 600px) {
    .mtga-event-meta { flex-direction: column; gap: 8px; }
    .mtga-form-actions { flex-direction: column; }
    .mtga-slots-list { grid-template-columns: repeat(3, 1fr); }
}
