:root {
    --bm-primary: #006bff;
    --bm-secondary: #f3f9ff;
    --bm-text: #2c3e50;
    --bm-text-light: #7f8c8d;
    --bm-border: #e2e8f0;
    --bm-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --bm-radius: 12px;
}

.booking-master-container {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    border-radius: var(--bm-radius);
    box-shadow: var(--bm-shadow);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--bm-text);
}

.bm-event-header {
    padding: 2.5rem;
    border-bottom: 1px solid var(--bm-border);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.bm-event-header h2 {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    color: var(--bm-text);
}

.bm-event-info {
    display: flex;
    gap: 1.5rem;
    color: var(--bm-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.bm-event-info span i {
    margin-right: 0.5rem;
}

.bm-event-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--bm-text-light);
}

.bm-booking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.bm-step {
    padding: 2rem;
    border-right: 1px solid var(--bm-border);
}

.bm-step:last-child {
    border-right: none;
}

.bm-step h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Calendar Styles */
#bm-calendar-wrapper {
    background: #fff;
}

.bm-calendar {
    width: 100%;
}

.bm-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bm-calendar-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--bm-primary);
}

.bm-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.bm-day-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bm-text-light);
    padding-bottom: 0.5rem;
}

.bm-day {
    padding: 0.75rem 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    margin: 2px;
}

.bm-day:hover:not(.disabled) {
    background: var(--bm-secondary);
    color: var(--bm-primary);
}

.bm-day.active {
    background: var(--bm-primary);
    color: #fff;
}

.bm-day.disabled {
    color: #cbd5e0;
    cursor: default;
}

.bm-day.today {
    font-weight: bold;
    color: var(--bm-primary);
}

/* Slot Styles */
#bm-slots-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 350px;
    overflow-y: auto;
}

.bm-slot {
    padding: 0.85rem;
    border: 1px solid var(--bm-primary);
    color: var(--bm-primary);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.bm-slot:hover {
    background: var(--bm-primary);
    color: #fff;
}

.bm-slot.selected {
    background: #004ecc;
    color: #fff;
    border-color: #004ecc;
}

/* Form Styles */
#bm-step-details {
    display: none;
    max-width: 500px;
    margin: 0 auto;
    padding: 2.5rem;
}

.bm-step-full {
    background: #fff;
    border-radius: 0 0 var(--bm-radius) var(--bm-radius);
}

.bm-form-row {
    margin-bottom: 1.25rem;
}

.bm-form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bm-form-row input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--bm-border);
    border-radius: 8px;
    font-size: 1rem;
}

.bm-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--bm-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.bm-submit-btn:hover {
    background: #0056cc;
}

/* Success Styles */
#bm-success-message {
    padding: 4rem 2rem;
    text-align: center;
}

.bm-success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .bm-booking-layout {
        grid-template-columns: 1fr;
    }
    .bm-step {
        border-right: none;
        border-bottom: 1px solid var(--bm-border);
    }
}
