/* JSN WooCom Customize - front-end defaults */

form.cart {
    display: flex;
    flex-direction: column;
    width: fit-content;
    justify-content: center;
    margin: 0 auto;
}

.jsn-slot-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 8px 12px;
    margin: 6px 0 12px;
    font-size: 0.9em;
}

/* Minimal jQuery UI Datepicker styling — no jQuery UI theme is loaded
   on this site, so the widget needs baseline styling to be usable. */
#jsn_party_date_display {
    cursor: pointer;
    background-color: #fff;
}

.ui-datepicker {
    width: 240px;
    padding: 8px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    z-index: 9999 !important;
}

.ui-datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ui-datepicker-title {
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
    padding: 2px 8px;
    user-select: none;
}

.ui-datepicker-prev.ui-state-disabled,
.ui-datepicker-next.ui-state-disabled {
    visibility: hidden;
}

.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
}

.ui-datepicker th {
    padding: 4px;
    text-align: center;
    font-weight: 600;
    font-size: 11px;
}

.ui-datepicker td {
    padding: 1px;
    text-align: center;
}

.ui-datepicker td a,
.ui-datepicker td span {
    display: block;
    padding: 6px;
    text-decoration: none;
    color: #222;
    border-radius: 3px;
}

.ui-datepicker td a:hover {
    background: #eee;
}

.ui-datepicker td .ui-state-active {
    background: #2c6e49;
    color: #fff;
}

.ui-datepicker td.jsn-day-busy a {
    background: #fff3cd;
}

/* Blocked days read the same as past (disabled) days — muted, no
   background — so they're clearly not selectable, at a glance. */
.ui-datepicker-unselectable .ui-state-default,
.ui-datepicker td.jsn-day-blocked span {
    color: #ccc;
}

/* ...but blocked days (unlike past days) are clickable to reveal why. */
.ui-datepicker td.jsn-day-blocked span {
    cursor: pointer;
}

.ui-datepicker-select,
.ui-datepicker-month,
.ui-datepicker-year {
    font-size: 12px;
}
