/* WC Command Center — appointments.css */
:root { --wccc-appt-accent: #2271b1; }

.wccc-booking-form-wrap { max-width: 480px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* Steps */
.wccc-appt-step { animation: wccc-fade-in .25s ease; }
@keyframes wccc-fade-in { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.wccc-appt-step-title { font-size: 16px; font-weight: 700; color: #1a1a2e; margin: 0 0 16px; }
.wccc-appt-back { background: none; border: none; color: var(--wccc-appt-accent); font-size: 13px; cursor: pointer; padding: 0 0 12px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.wccc-appt-back:hover { text-decoration: underline; }

/* Calendario */
.wccc-calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.wccc-cal-header { font-size: 10px; font-weight: 700; text-align: center; color: #888; text-transform: uppercase; padding: 4px 0; }
.wccc-cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; cursor: default; }
.wccc-cal-day.available { background: #e8f0fe; color: var(--wccc-appt-accent); font-weight: 600; cursor: pointer; transition: all .15s; }
.wccc-cal-day.available:hover { background: var(--wccc-appt-accent); color: #fff; transform: scale(1.05); }
.wccc-cal-day.available.selected { background: var(--wccc-appt-accent); color: #fff; }
.wccc-cal-day.unavailable { color: #ddd; }
.wccc-cal-day.empty { }
.wccc-cal-month { grid-column: span 7; text-align: center; font-weight: 700; font-size: 14px; color: #1a1a2e; padding: 8px 0; display: flex; align-items: center; justify-content: space-between; }
.wccc-cal-nav { background: none; border: 1px solid #ddd; border-radius: 4px; width: 28px; height: 28px; cursor: pointer; font-size: 14px; }

/* Slot time grid */
.wccc-slots-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.wccc-slot-btn { padding: 10px 6px; background: #e8f0fe; color: var(--wccc-appt-accent); border: 2px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; transition: all .15s; }
.wccc-slot-btn:hover { background: var(--wccc-appt-accent); color: #fff; }
.wccc-slot-btn.selected { background: var(--wccc-appt-accent); color: #fff; border-color: var(--wccc-appt-accent); }
.wccc-no-slots { text-align: center; color: #aaa; padding: 20px; font-size: 14px; }

/* Summary */
.wccc-appt-summary { background: #e8f0fe; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; font-weight: 500; color: var(--wccc-appt-accent); }

/* Form fields */
.wccc-appt-field { margin-bottom: 14px; }
.wccc-appt-field label { display: block; font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 5px; }
.wccc-appt-input { width: 100%; padding: 10px 12px; border: 2px solid #eee; border-radius: 8px; font-size: 15px; transition: border-color .15s; box-sizing: border-box; }
.wccc-appt-input:focus { border-color: var(--wccc-appt-accent); outline: none; }
.wccc-appt-submit { width: 100%; padding: 14px; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 4px; transition: opacity .15s; }
.wccc-appt-submit:hover { opacity: .88; }

/* Done state */
.wccc-appt-done { text-align: center; padding: 24px 0; }
.wccc-appt-done-icon { font-size: 52px; margin-bottom: 12px; }
.wccc-appt-done h3 { color: #1a1a2e; margin-bottom: 8px; }
.wccc-appt-done p { color: #666; font-size: 15px; }

/* Inline nel widget callback */
.wccc-cb-mini-calendar { margin-top: 16px; border-top: 1px solid #f0f0f0; padding-top: 14px; }
.wccc-cb-mini-cal-title { font-size: 13px; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.wccc-mini-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.wccc-mini-slot { padding: 5px 10px; border-radius: 5px; font-size: 12px; font-weight: 600; cursor: pointer; border: 2px solid; transition: all .15s; }

/* Loading */
.wccc-appt-loading { text-align: center; color: #aaa; padding: 20px; font-size: 14px; }
