/* Scoped to Wrapper */
.jcservices-booking-layout {
    display: flex;
    flex-wrap: wrap;
    background: #0d0d0d;
    border-radius: 12px;
    padding: 20px;
    gap: 30px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    border: 1px solid #2a2a2a;
}

.jc-col-left {
    flex: 1 1 350px;
    background: #111;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #222;
}

.jc-col-right {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

/* Header */
.jc-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.jc-month-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.jc-cal-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7d2ae8;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.jc-cal-btn:hover {
    background: #9f4dfc;
}

/* Grid */
.jc-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.jc-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.jc-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7d2ae8;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.jc-day:hover:not(.visible-disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 42, 232, 0.4);
    background: #8e3af2;
}

.jc-day.selected {
    background: #fff;
    color: #7d2ae8;
    font-weight: 700;
}

.jc-day.today {
    border: 2px solid #fff;
}

.jc-day.visible-disabled {
    background: #222;
    color: #444;
    cursor: default;
}

.jc-day.hidden-pad {
    background: transparent;
    pointer-events: none;
}

/* Right Panel */
.jc-right-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.jc-instruction-text {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Summary Lines */
.jc-summary-lines {
    margin-top: auto;
    background: #151515;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #222;
}

.jc-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #aaa;
}

.jc-line-val {
    color: #fff;
    font-weight: 500;
}

.jc-divider {
    height: 1px;
    background: #333;
    margin: 10px 0;
}

.jc-total-line {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

/* Form Inputs */
.jc-contact-inputs {
    margin: 15px 0;
}

.jc-input {
    width: 100%;
    padding: 10px;
    background: #222;
    border: 1px solid #333;
    color: white;
    border-radius: 6px;
    margin-bottom: 10px;
}

.jc-input:focus {
    border-color: #7d2ae8;
    outline: none;
}

/* Main CTA */
.jc-main-cta {
    margin-top: 15px;
    width: 100%;
    background: #7d2ae8;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.2s;
}

.jc-main-cta:hover:not(:disabled) {
    background: #9f4dfc;
    box-shadow: 0 4px 15px rgba(125, 42, 232, 0.4);
}

.jc-main-cta:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* Sub-slots styling */
.jc-slots-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
    max-height: 150px;
    overflow-y: auto;
}

.jc-time-chip {
    background: #222;
    border: 1px solid #333;
    padding: 6px;
    text-align: center;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.jc-time-chip:hover {
    border-color: #7d2ae8;
}

.jc-time-chip.active {
    background: #7d2ae8;
    color: white;
    border-color: #7d2ae8;
}

.jc-msg-error {
    margin-bottom: 10px;
    color: #ff6b6b;
    font-size: 0.9rem;
}