/* public/assets/css/booking.css — Widget de reservas por pasos, estilo Bookly */
.bk-widget { max-width: 640px; margin: 0 auto; font-family: -apple-system, 'Segoe UI', sans-serif; color: #1f2937; }
.bk-steps { display: flex; justify-content: space-between; margin-bottom: 32px; position: relative; }
.bk-steps::before { content: ''; position: absolute; top: 16px; left: 0; right: 0; height: 2px; background: #e5e7eb; z-index: 0; }
.bk-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; flex: 1; }
.bk-step-circle { width: 32px; height: 32px; border-radius: 50%; background: #e5e7eb; color: #9ca3af; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; transition: all .2s; }
.bk-step.active .bk-step-circle { background: #4f46e5; color: #fff; }
.bk-step.done .bk-step-circle { background: #16a34a; color: #fff; }
.bk-step-label { font-size: 12px; color: #9ca3af; margin-top: 6px; text-align: center; }
.bk-step.active .bk-step-label { color: #4f46e5; font-weight: 600; }

.bk-panel { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04); min-height: 320px; }
.bk-panel h3 { margin-top: 0; font-size: 18px; }

.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 16px; }
.bk-card { border: 2px solid #e5e7eb; border-radius: 10px; padding: 16px; cursor: pointer; text-align: center; transition: all .15s; background: #fff; }
.bk-card:hover { border-color: #a5b4fc; }
.bk-card.selected { border-color: #4f46e5; background: #eef2ff; }
.bk-card-icon { width: 44px; height: 44px; border-radius: 50%; background: #eef2ff; color: #4f46e5; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 20px; font-weight: 700; }
.bk-card-name { font-weight: 600; font-size: 14px; }
.bk-card-meta { font-size: 12px; color: #6b7280; margin-top: 4px; }

.bk-date-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.bk-date-row input[type=date] { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; }

.bk-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-slot { border: 1px solid #4f46e5; color: #4f46e5; background: #fff; border-radius: 8px; padding: 9px 14px; font-size: 14px; cursor: pointer; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bk-slot-staff { font-size: 10px; font-weight: 500; opacity: .75; }
.bk-slot:hover { background: #eef2ff; }
.bk-slot.selected { background: #4f46e5; color: #fff; }
.bk-empty { color: #9ca3af; text-align: center; padding: 24px 0; }
.bk-status-msg { font-size: 13px; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; display: inline-block; }
.bk-status-free { background: #dcfce7; color: #166534; }
.bk-status-partial { background: #fef9c3; color: #854d0e; }
.bk-status-full { background: #fee2e2; color: #991b1b; }
.bk-break { flex-basis: 100%; display: flex; align-items: center; gap: 10px; color: #9ca3af; font-size: 12px; margin: 4px 0; }
.bk-break::before, .bk-break::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }

.bk-field { margin-bottom: 16px; }
.bk-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.bk-field input { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; box-sizing: border-box; }
.bk-checkbox-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; }
.bk-checkbox-row input { width: auto; }

.bk-summary { background: #f9fafb; border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.bk-summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.bk-summary-row strong { font-weight: 700; }
.bk-summary-row-highlight { margin-top: 6px; padding-top: 12px; border-top: 1px dashed #d1d5db; font-size: 15px; }
.bk-summary-row-highlight strong { color: #4f46e5; font-size: 17px; }

.bk-gateway-options { display: flex; flex-direction: column; gap: 8px; }
.bk-gateway-option { display: flex; align-items: center; gap: 10px; border: 2px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.bk-gateway-option:hover { border-color: #c7d2fe; background: #f5f5ff; }
.bk-gateway-option.checked { border-color: #4f46e5; background: #eef2ff; }
.bk-gateway-option input { width: auto; margin: 0; }
.bk-gateway-option-single { cursor: default; border-color: #4f46e5; background: #eef2ff; }
.bk-gateway-option-single:hover { border-color: #4f46e5; background: #eef2ff; }

.bk-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.bk-btn { border: none; border-radius: 8px; padding: 12px 24px; font-weight: 600; font-size: 15px; cursor: pointer; }
.bk-btn-primary { background: #4f46e5; color: #fff; }
.bk-btn-primary:disabled { background: #c7d2fe; cursor: not-allowed; }
.bk-btn-outline { background: #fff; border: 1px solid #d1d5db; color: #374151; }

.bk-success { text-align: center; padding: 24px 0; }
.bk-success-icon { font-size: 52px; margin-bottom: 16px; }
.bk-error-box { background: #fef2f2; color: #991b1b; padding: 10px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
