/* Srijayathu Booking Plugin Styles */
.sjb-wrap {
    max-width: 860px;
    margin: 0 auto;
    font-family: inherit;
}

.sjb-step {
    display: none;
}

.sjb-step.active {
    display: block;
    padding: 28px 32px;
    box-sizing: border-box;
}

.sjb-step-title {
    font-size: 1.3em;
    margin-bottom: 16px;
    color: #333;
    border-bottom: 2px solid #e0b84b;
    padding-bottom: 8px;
}

/* Services List */
.sjb-services-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sjb-service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid #e8e0d0;
    border-radius: 12px;
    padding: 16px 20px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.sjb-service-card:hover {
    border-color: #e0b84b;
    box-shadow: 0 3px 14px rgba(224, 184, 75, .2);
}

.sjb-service-card.selected {
    border-color: #e0b84b;
    box-shadow: 0 3px 14px rgba(224, 184, 75, .3);
}

.sjb-svc-img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.sjb-svc-info {
    flex: 1;
    text-align: left;
}

.sjb-svc-info strong {
    display: block;
    font-size: 1.05em;
    margin-bottom: 4px;
    color: #222;
}

.sjb-svc-desc {
    font-size: .88em;
    color: #666;
    margin: 4px 0 8px;
    line-height: 1.4;
}

.sjb-price {
    color: #e0b84b;
    font-weight: bold;
    font-size: .95em;
}

.sjb-svc-action {
    flex-shrink: 0;
}

.sjb-book-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #e0b84b;
    color: #fff;
    font-weight: bold;
    font-size: .95em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.sjb-book-btn:hover {
    background: #c9a030;
}

/* Calendar */
.sjb-cal-wrap {
    width: 100%;
    box-sizing: border-box;
}

.sjb-cal-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    background: #fffbf0;
    border: 1px solid #e0b84b;
    border-radius: 10px;
    padding: 10px 20px;
}

.sjb-cal-month-nav strong {
    font-size: 1.15em;
    color: #333;
}

.sjb-cal-month-nav button {
    background: #e0b84b;
    border: none;
    color: #fff;
    border-radius: 6px;
    padding: 6px 18px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background .2s;
}

.sjb-cal-month-nav button:hover {
    background: #c9a030;
}

#sjb-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.sjb-cal-header {
    font-weight: 700;
    text-align: center;
    font-size: .85em;
    color: #999;
    padding: 6px 0;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sjb-cal-day {
    padding: 0;
    text-align: center;
    border-radius: 8px;
    cursor: default;
    background: #f5f5f5;
    font-size: .95em;
    color: #bbb;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.sjb-cal-day.available {
    background: #fff7e0;
    border: 2px solid #e0b84b;
    color: #b8860b;
    cursor: pointer;
    font-weight: 700;
    transition: background .15s, color .15s;
}

.sjb-cal-day.available:hover {
    background: #f5d76e;
    color: #7a5700;
}

.sjb-cal-day.selected {
    background: #e0b84b !important;
    color: #fff !important;
    border-color: #c9a030 !important;
}

.sjb-cal-day.empty {
    background: transparent;
}

/* Time Slots */
#sjb-slots-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.sjb-slot {
    padding: 10px 18px;
    border: 2px solid #e0b84b;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #e0b84b;
}

.sjb-slot:hover,
.sjb-slot.selected {
    background: #e0b84b;
    color: #fff;
}

/* Form */
#sjb-booking-form label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #444;
}

#sjb-booking-form input[type="text"],
#sjb-booking-form input[type="email"] {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

/* Summary */
.sjb-summary {
    background: #fffbf0;
    border: 1px solid #e0b84b;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: .95em;
}

.sjb-summary p {
    margin: 4px 0;
}

/* Buttons */
.sjb-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    margin-top: 10px;
    margin-right: 8px;
}

.sjb-submit {
    background: #e0b84b;
    color: #fff;
    font-weight: bold;
}

.sjb-submit:hover {
    background: #c9a030;
}

.sjb-back {
    background: #f0f0f0;
    color: #555;
}

.sjb-back:hover {
    background: #ddd;
}

/* Success */
.sjb-success {
    text-align: center;
    padding: 40px 20px;
}

.sjb-success h3 {
    font-size: 1.5em;
    color: #2e7d32;
}

/* ── Mobile Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {

    .sjb-step.active {
        padding: 18px 14px;
    }

    .sjb-step-title {
        font-size: 1.1em;
    }

    /* Service cards: stack image on top */
    .sjb-service-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }

    .sjb-svc-img {
        width: 100%;
        height: 160px;
    }

    .sjb-svc-action {
        width: 100%;
    }

    .sjb-book-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1em;
    }

    /* Calendar: smaller font, tighter gap */
    #sjb-calendar {
        gap: 4px;
    }

    .sjb-cal-header {
        font-size: .7em;
        padding: 4px 0;
        letter-spacing: 0;
    }

    .sjb-cal-day {
        font-size: .8em;
        border-radius: 5px;
    }

    .sjb-cal-month-nav {
        padding: 8px 12px;
    }

    .sjb-cal-month-nav strong {
        font-size: 1em;
    }

    .sjb-cal-month-nav button {
        padding: 5px 12px;
        font-size: .9em;
    }

    /* Time slots: full width buttons */
    #sjb-slots-list {
        gap: 8px;
    }

    .sjb-slot {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        padding: 12px 8px;
    }

    /* Form buttons: stack full width */
    .sjb-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-top: 8px;
        box-sizing: border-box;
    }
}