/* ===== Card look */
#datePicker {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 14px 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    width: 100%;
}

@media (max-width: 767px) {
    .col-md-4.addspacer {
        margin-top: 20px; /* pas de waarde aan naar wens */
    }
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight {
    border: 1px solid #f6f6f6 !important;
    background: #f6f6f6 !important;
    color: #000000 !important;
}

.timepicker {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 14px 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.ui-state-highlight {
    background-color: #0f172a !important;
    color: #fff !important;
    border-color: #0f172a !important;
}

/* ===== Datepicker container reset */
.ui-datepicker {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    font-family: inherit;
}

/* Header: month + chevrons */
.ui-datepicker .ui-datepicker-header {
    position: relative;
    background: transparent;
    border: 0;
    padding: 8px 40px; /* ruimte voor chevrons */
    margin-bottom: 6px;
}

.ui-datepicker .ui-datepicker-title {
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f172a;
}

/* Prev / Next as rounded chevrons */
.ui-datepicker-prev,
.ui-datepicker-next {
    position: absolute;
    top: 6px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, transform .05s;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: #f7f7f7
}

.ui-datepicker-prev:active,
.ui-datepicker-next:active {
    transform: translateY(1px)
}

.ui-datepicker-prev {
    left: 6px
}

.ui-datepicker-next {
    right: 6px
}

/* Iconen vervangen door tekstchevrons */
.ui-datepicker .ui-icon {
    display: none
}

/* Tabel spacing */
.ui-datepicker table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 8px 10px; /* horizontaal / verticaal */
}

/* Weekday labels */
.ui-datepicker thead th {
    padding: 0 0 2px;
    font-size: .85rem;
    font-weight: 600;
    text-transform: none; /* in je concept staan ze ‘Su Mo …’ */
    color: #6b7280;
}

/* Dagcellen als ‘pills’ */
.ui-datepicker td {
    padding: 0;
}

.ui-datepicker td a,
.ui-datepicker td span {
    display: block;
    text-align: center;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    border-radius: 10px;
    padding: 8px 0;
    line-height: 1.1;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: box-shadow .15s, background .15s, border-color .15s;
}

/* Hover */
.ui-datepicker td a:hover {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}

/* Vandaag optioneel subtiel markeren */
.ui-datepicker-today a {
    border-color: #cbd5e1;
}

/* Geselecteerd = lichtgeel met gele rand */
.ui-datepicker-current-day a,
.ui-state-active {
    background: #0f2a43  !important; /* zacht geel */
    border-color: #0f2a43  !important; /* geel randje */
    color: #fff !important;
    font-weight: 700;
}

/* Buiten huidige maand: lichter */
.ui-datepicker-other-month .ui-state-default {
    color: #94a3b8; /* dim */
    background: #fff;
    border-color: #eef2f7;
}

/* Disabled dagen (minDate e.d.) */
.ui-state-disabled {
    opacity: .4;
    pointer-events: none
}

/* Layout */
.pickers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 20px auto;
}

/* jQuery UI date look tweaks */
.ui-datepicker {
    border: none;
    box-shadow: none;
}

.ui-datepicker .ui-datepicker-title {
    font-weight: 600;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    top: 8px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
}

.ui-datepicker .ui-datepicker-prev:hover, .ui-datepicker .ui-datepicker-next:hover {
    background: #f7f7f7;
}

.ui-state-active {
    background: #fff7d6 !important;
    border-color: #0f2a43  !important;
    color: #111827 !important
}

/* Time header + grid */
.time-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 12px
}

.time-head .period-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    cursor: pointer
}

.time-head .label {
    font-weight: 600;
    text-transform: lowercase;
    font-size: 1.05rem
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.time-slot {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    background: #fff;
    transition: box-shadow .15s, transform .05s;
}

.time-slot:hover {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08)
}

.time-slot.selected {
    background: #0f2a43 ;
    border-color: #0f2a43 ;
    color: #fff;
    font-weight: 700
}

.time-slot.disabled {
    opacity: .4;
    pointer-events: none
}

/* Small note row style (like tiny icon space in your mock) */
.time-slot .tiny {
    display: block;
    font-size: .75rem;
    opacity: .65;
    margin-top: 4px
}

@media (max-width: 800px) {
    .pickers {
        grid-template-columns: 1fr
    }
}

.ui-widget.ui-widget-content {
    border: 0
}
