/* Booking Boss Frontend Calendar Widget (Acuity Scheduling Style) */
.bb-booking-widget-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2d3748;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    max-width: 650px;
    margin: 30px auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.bb-booking-notice {
    padding: 20px;
    background: #fffaf0;
    border: 1px solid #feebc8;
    border-radius: 8px;
    color: #c05621;
    text-align: center;
    font-weight: 500;
}

/* Acuity-Style Staff Profile Header */
.bb-staff-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #edf2f7;
}

.bb-staff-avatar {
    flex-shrink: 0;
}

.bb-staff-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.bb-avatar-initials {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 28px;
    box-shadow: 0 4px 6px -1px rgba(236, 72, 153, 0.3);
}

.bb-staff-info {
    flex: 1;
}

.bb-staff-badge {
    display: inline-block;
    background: #fdf2f8;
    color: #db2777;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-bottom: 4px;
}

.bb-staff-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 2px 0;
    color: #0f172a;
}

.bb-staff-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 8px 0;
}

.bb-staff-bio {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 10px;
}

.bb-staff-meta {
    font-size: 12px;
    color: #64748b;
}

/* Multi-Staff Selection Step */
.bb-widget-header {
    text-align: center;
    margin-bottom: 24px;
}

.bb-widget-header h3 {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.bb-widget-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.bb-staff-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.bb-staff-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
}

.bb-staff-card input[type="radio"] {
    display: none;
}

.bb-staff-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bb-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.bb-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-card-details h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.bb-card-title {
    font-size: 12px;
    color: #64748b;
}

.bb-staff-card:hover, .bb-staff-card.selected {
    border-color: #ec4899;
    background: #fdf2f8;
}

/* Steps */
.bb-step-box {
    margin-bottom: 24px;
}

.bb-step-box > label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

/* Service Picker */
.bb-service-picker {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bb-service-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bb-service-card input[type="radio"] {
    margin-top: 4px;
}

.bb-service-card:hover, .bb-service-card.selected {
    border-color: #ec4899;
    background: #fdf2f8;
}

.bb-service-name {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
}

.bb-service-meta {
    font-size: 12px;
    font-weight: 600;
    color: #ec4899;
    margin-top: 3px;
}

.bb-service-desc {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

.bb-service-placeholder {
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e0;
    border-radius: 8px;
    color: #94a3b8;
    text-align: center;
    font-size: 13px;
}

/* Date & Available Slots */
.bb-date-selection-row {
    margin-bottom: 14px;
}

#bb-booking-date {
    width: 100%;
    max-width: 260px;
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
}

.bb-slots-wrapper label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.bb-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

.bb-slot-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e0;
    padding: 10px 8px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    transition: all 0.15s ease;
}

.bb-slot-btn:hover {
    background: #edf2f7;
    border-color: #94a3b8;
}

.bb-slot-btn.selected {
    background: #ec4899;
    color: #ffffff;
    border-color: #db2777;
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.3);
}

.bb-no-slots {
    grid-column: 1 / -1;
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e0;
    border-radius: 8px;
    color: #64748b;
    text-align: center;
    font-size: 13px;
}

.bb-loading-slots {
    grid-column: 1 / -1;
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

/* Contact Form */
.bb-form-row {
    display: flex;
    gap: 14px;
}

.bb-form-group {
    flex: 1;
    margin-bottom: 14px;
}

.bb-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.bb-form-group input, .bb-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}

.bb-form-group input:focus, .bb-form-group textarea:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 1px #ec4899;
    outline: none;
}

.bb-submit-booking-btn {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
    transition: all 0.2s ease;
}

.bb-submit-booking-btn:hover {
    background: linear-gradient(135deg, #db2777, #be185d);
    transform: translateY(-1px);
}

.bb-confirmation-card {
    text-align: center;
    padding: 30px 15px;
}

.bb-success-icon {
    font-size: 54px;
    margin-bottom: 12px;
}

.bb-confirmation-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.bb-confirmation-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
}

.bb-google-cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4285f4;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.15s;
}

.bb-google-cal-btn:hover {
    background: #3367d6;
    color: #fff;
}
