/* Container & Base */
.bbl-booking-form-wrap,
.bbl-user-bookings,
.bbl-vendor-bookings { padding: 28px 16px; }
.bbl-container { max-width: 1280px; margin: 0 auto; }
.bbl-title { font-weight: 800; color: #183C66; margin: 0 0 .35rem; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }

/* Listing Info in Booking Form */
.bbl-listing-info { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px; margin-bottom: 24px; }
.bbl-listing-title { font-size: 1.3rem; font-weight: 700; color: #1E293B; margin: 0 0 8px; }
.bbl-listing-excerpt { color: #64748B; line-height: 1.5; }

/* Form Styling */
.bbl-booking-form { background: #fff; border: 1px solid #E9ECEF; border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(16,24,40,.08); max-width: 700px; margin: 0 auto; }
.bbl-form-row { margin-bottom: 20px; }
.bbl-form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bbl-field label { display: block; font-size: .95rem; color: #374151; margin-bottom: 8px; font-weight: 600; }
.bbl-required { color: #EF4444; }
.bbl-field input[type="text"],
.bbl-field input[type="email"],
.bbl-field input[type="date"],
.bbl-field input[type="time"],
.bbl-field textarea { width: 100%; border: 1px solid #D1D5DB; border-radius: 12px; padding: 12px 16px; font-size: 1rem; transition: border-color 0.2s; }
.bbl-field input:focus,
.bbl-field textarea:focus { outline: none; border-color: #3156e2; box-shadow: 0 0 0 3px rgba(49,86,226,.1); }
.bbl-field textarea { resize: vertical; min-height: 100px; }

.bbl-form-actions { text-align: center; margin-top: 24px; }
.bbl-form-notice { margin-top: 16px; padding: 12px 16px; border-radius: 8px; text-align: center; }
.bbl-form-notice.success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.bbl-form-notice.error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

@media (max-width: 768px) {
  .bbl-form-row-split { grid-template-columns: 1fr; }
}

/* Buttons */
.bbl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; font-size: .95rem; }
.bbl-btn-primary { background: #3156e2; color: #fff; box-shadow: 0 8px 20px rgba(49,86,226,.25); }
.bbl-btn-primary:hover { background: #2845c7; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(49,86,226,.35); }
.bbl-btn-success { background: #10B981; color: #fff; }
.bbl-btn-success:hover { background: #059669; }
.bbl-btn-danger { background: #EF4444; color: #fff; }
.bbl-btn-danger:hover { background: #DC2626; }
.bbl-btn-ghost { border: 1px solid #E5E7EB; color: #374151; background: #fff; }
.bbl-btn-ghost:hover { background: #F9FAFB; border-color: #D1D5DB; }
.bbl-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Booking Cards */
.bbl-bookings-list { display: flex; flex-direction: column; gap: 16px; }
.bbl-booking-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 20px; box-shadow: 0 4px 16px rgba(16,24,40,.08); }

.bbl-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.bbl-service-title { font-size: 1.2rem; font-weight: 700; color: #1F2937; margin: 0 0 4px; }
.bbl-customer-info { font-size: .9rem; color: #6B7280; }
.bbl-customer-info strong { color: #374151; }
.bbl-customer-info a { color: #3156e2; text-decoration: none; }

.bbl-status-badge { padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.bbl-status-pending { background: #FEF3C7; color: #92400E; }
.bbl-status-confirmed { background: #ECFDF5; color: #065F46; }
.bbl-status-cancelled { background: #FEE2E2; color: #991B1B; }

.bbl-booking-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.bbl-detail { display: flex; flex-direction: column; }
.bbl-label { font-size: .85rem; color: #6B7280; font-weight: 600; }
.bbl-value { font-size: .95rem; color: #1F2937; font-weight: 500; }

.bbl-booking-message { background: #F8FAFC; border-radius: 8px; padding: 12px; margin-top: 12px; }
.bbl-booking-message strong { color: #374151; font-size: .9rem; }
.bbl-booking-message p { margin: 4px 0 0; color: #64748B; line-height: 1.4; }

.bbl-card-actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #E5E7EB; }

/* Login Prompt */
.bbl-login-prompt { padding: 40px 16px; }
.bbl-prompt-content { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 32px; text-align: center; max-width: 500px; margin: 0 auto; box-shadow: 0 8px 24px rgba(16,24,40,.08); }
.bbl-prompt-content h3 { font-size: 1.5rem; font-weight: 800; color: #1F2937; margin: 0 0 12px; }
.bbl-prompt-content p { color: #6B7280; margin-bottom: 24px; }
.bbl-prompt-actions { display: flex; gap: 12px; justify-content: center; }
@media (max-width: 480px) { .bbl-prompt-actions { flex-direction: column; } }

/* No Bookings */
.bbl-no-bookings { text-align: center; padding: 40px 20px; }
.bbl-no-bookings p { color: #6B7280; font-size: 1.1rem; }

/* Error Messages */
.bbl-error { background: #FEF2F2; color: #991B1B; padding: 12px 16px; border-radius: 8px; border: 1px solid #FECACA; }
