/* Modern Booking Wizard CSS (Calendly Style) */
.bk-wizard {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Progress Bar */
.bk-progress {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.bk-progress-step {
    flex: 1;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    position: relative;
    cursor: default;
}

.bk-progress-step.active {
    color: #0069ff;
    font-weight: 600;
}

.bk-progress-step.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0069ff;
}

/* Steps Content */
.bk-step-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s ease-in-out;
}

.bk-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 600;
}

/* Services Grid */
.bk-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.bk-service-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.bk-service-card:hover {
    border-color: #0069ff;
    box-shadow: 0 4px 12px rgba(0, 105, 255, 0.1);
    transform: translateY(-2px);
}

.bk-service-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.bk-service-price {
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 10px;
}

.bk-service-duration {
    color: #666;
    font-size: 14px;
}

/* Calendly Container (Step 2) */
.bk-calendly-container {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    height: 480px;
    /* Fixed height for consistency */
}

/* Left: Calendar */
.bk-calendar-wrapper {
    flex: 1.5;
    padding: 20px;
    border-right: 1px solid #e0e0e0;
}

.bk-calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.bk-calendar-header span {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    min-width: 140px;
    text-align: center;
}

.bk-calendar-header button {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #0069ff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bk-calendar-header button:hover {
    background: #f0f7ff;
}

.bk-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.bk-cal-day-header {
    font-size: 12px;
    color: #666;
    padding-bottom: 10px;
}

.bk-cal-day {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
}

.bk-cal-day.bk-disabled {
    color: #ccc;
    cursor: default;
}

.bk-cal-day:not(.bk-disabled):hover {
    background: #f0f7ff;
    color: #0069ff;
    font-weight: bold;
}

.bk-cal-day.bk-today {
    position: relative;
}

.bk-cal-day.bk-today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #0069ff;
    border-radius: 50%;
}

.bk-cal-day.bk-selected {
    background: #0069ff;
    color: #fff;
}

/* Right: Slots */
.bk-slots-wrapper {
    flex: 1;
    padding: 20px;
    background: #fff;
    overflow-y: auto;
}

.bk-slots-wrapper h3 {
    margin-top: 0;
    font-size: 16px;
    color: #333;
}

#bk-slots-date-header {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.bk-slots-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bk-slot-btn {
    padding: 12px;
    border: 1px solid #0069ff;
    background: #fff;
    color: #0069ff;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: all 0.2s;
}

.bk-slot-btn:hover {
    background: #f0f7ff;
    border-width: 2px;
    padding: 11px;
    /* Compensate border */
}

.bk-slot-btn.selected {
    background: #0069ff;
    color: #fff;
}

/* Form Inputs */
.bk-form-group {
    margin-bottom: 20px;
}

.bk-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.bk-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.2s;
}

.bk-input:focus {
    border-color: #0069ff;
    outline: none;
}

/* Summary */
.bk-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.bk-summary p {
    margin: 8px 0;
    color: #555;
}

/* Actions */
.bk-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.bk-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 40px;
    /* Pill shape */
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.1s;
}

.bk-btn-primary {
    background: #0069ff;
    color: #fff;
}

.bk-btn-primary:active {
    transform: scale(0.98);
}

.bk-btn-secondary {
    background: transparent;
    color: #666;
}

.bk-btn-secondary:hover {
    color: #333;
}

/* Success */
.bk-success-message {
    text-align: center;
    padding: 60px 0;
}

.bk-success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
}