.ngas-booking, .ngas-complete { box-sizing: border-box; }
.ngas-booking *, .ngas-booking *::before, .ngas-booking *::after,
.ngas-complete *, .ngas-complete *::before, .ngas-complete *::after { box-sizing: border-box; }
.ngas-booking { max-width: 720px; margin: 20px auto; font-size: 15px; line-height: 1.6; }
.ngas-step-title { font-size: 18px; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 2px solid #2c7be5; }

.ngas-calendar-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 12px 0; }
.ngas-calendar-nav button { background: #f0f0f0; border: 1px solid #ccc; padding: 6px 14px; cursor: pointer; border-radius: 3px; }
.ngas-calendar-nav button:hover:not(:disabled) { background: #e0e0e0; }
.ngas-calendar-nav button:disabled { opacity: 0.4; cursor: not-allowed; }
.ngas-cal-label { font-weight: bold; font-size: 16px; min-width: 130px; text-align: center; }

.ngas-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: bold; padding: 6px 0; background: #f7f7f7; border: 1px solid #e0e0e0; border-bottom: none; }
.ngas-wd-sun { color: #d63638; }
.ngas-wd-sat { color: #2c7be5; }

.ngas-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid #e0e0e0; }
.ngas-cal-day { min-height: 60px; padding: 4px; border-right: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; text-align: center; cursor: pointer; background: #fff; }
.ngas-cal-day:hover { background: #eaf2fb; }
.ngas-cal-day.disabled, .ngas-cal-day.past { background: #f7f7f7; color: #bbb; cursor: not-allowed; }
.ngas-cal-day.full { background: #fff0f0; color: #999; cursor: not-allowed; }
.ngas-cal-day.closed { background: #fafafa; color: #bbb; cursor: not-allowed; }
.ngas-cal-day.holiday { background: #fff0f0; cursor: not-allowed; }
.ngas-cal-day.holiday .ngas-cal-day-num { color: #d63638; }
.ngas-cal-day.holiday .ngas-cal-day-info { color: #d63638; }
.ngas-cal-day.empty { background: #fafafa; cursor: default; }
.ngas-cal-day-num { font-size: 16px; font-weight: bold; }
.ngas-cal-day-info { font-size: 11px; margin-top: 2px; }
.ngas-cal-day.bookable .ngas-cal-day-info { color: #2c7be5; }
.ngas-cal-day.sun .ngas-cal-day-num { color: #d63638; }
.ngas-cal-day.sat .ngas-cal-day-num { color: #2c7be5; }

.ngas-cal-legend { display: flex; gap: 18px; justify-content: center; font-size: 12px; margin-top: 10px; color: #555; }

.ngas-time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 14px 0; }
.ngas-time-btn { padding: 12px; border: 1px solid #2c7be5; background: #fff; color: #2c7be5; cursor: pointer; border-radius: 4px; font-weight: bold; }
.ngas-time-btn:hover:not(:disabled) { background: #2c7be5; color: #fff; }
.ngas-time-btn:disabled { background: #f0f0f0; color: #999; border-color: #ccc; cursor: not-allowed; }
.ngas-time-rem { display: block; font-size: 11px; font-weight: normal; margin-top: 2px; }

.ngas-form input[type="text"], .ngas-form input[type="email"], .ngas-form input[type="tel"] { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; box-sizing: border-box; background: #fff; color: #333; }
@media (max-width: 600px) {
    .ngas-calendar-nav button { padding: 8px 12px; }
    .ngas-cal-day { min-height: 50px; padding: 2px; }
    .ngas-cal-day-num { font-size: 14px; }
    .ngas-cal-day-info { font-size: 10px; }
    .ngas-time-slots { grid-template-columns: repeat(2, 1fr); }
    .ngas-cal-legend { flex-wrap: wrap; gap: 10px; }
    .ngas-complete-table th { width: 90px; padding: 8px 10px; }
    .ngas-complete-table td { padding: 8px 10px; }
}
.ngas-required { display: inline-block; padding: 1px 6px; background: #d63638; color: #fff; font-size: 11px; border-radius: 2px; margin-left: 6px; }
.ngas-submit-btn { background: #2c7be5; color: #fff; border: none; padding: 12px 28px; font-size: 16px; cursor: pointer; border-radius: 4px; }
.ngas-submit-btn:hover { background: #1a5dc7; }
.ngas-submit-btn:disabled { background: #999; cursor: wait; }
.ngas-back-to-cal, .ngas-back-to-time { background: none; border: none; color: #2c7be5; cursor: pointer; padding: 0; text-decoration: underline; }

.ngas-form-error { background: #ffebee; border-left: 4px solid #d63638; padding: 10px 14px; margin: 12px 0; color: #c1272d; }
.ngas-form-note { font-size: 13px; color: #666; }
.ngas-selected-summary { background: #eaf2fb; padding: 10px; border-radius: 4px; }

.ngas-notice { background: #fff3cd; border-left: 4px solid #dba617; padding: 12px 16px; margin: 16px 0; }
.ngas-notice-warning { background: #ffebee; border-left-color: #d63638; }

.ngas-complete { max-width: 720px; margin: 30px auto; }
.ngas-complete h2 { color: #2c7be5; }
.ngas-complete-lead { font-size: 16px; margin: 14px 0 20px; }
.ngas-res-number { background: #eaf2fb; padding: 4px 10px; border-radius: 4px; font-family: monospace; font-size: 16px; }
.ngas-complete-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.ngas-complete-table th, .ngas-complete-table td { padding: 10px 14px; border-bottom: 1px solid #e0e0e0; text-align: left; }
.ngas-complete-table th { background: #f7f7f7; width: 130px; }
.ngas-complete-message { background: #e8f5e9; border-left: 4px solid #4caf50; padding: 14px 16px; margin-top: 20px; }
.ngas-complete-message p { margin: 6px 0; }
