.pa-time-picker {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px;
    direction: ltr;
    vertical-align: middle;
}

.pa-time-picker .pa-time-field {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 0;
}

.pa-time-picker select {
    padding: 4px 8px;
    font: inherit;
    direction: ltr;
    text-align: center;
    text-align-last: center;
    background-color: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    line-height: 1.4;
    min-height: 30px;
    min-width: 60px;
}

.pa-time-picker select:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.pa-time-picker .pa-time-sep {
    font-weight: 700;
    color: inherit;
    user-select: none;
    line-height: 30px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
}

.pa-time-picker .pa-time-hint {
    font-size: 10px;
    line-height: 1.2;
    color: #999;
    text-align: center;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0;
    user-select: none;
    pointer-events: none;
}

/* Public/shortcode theme overrides */
.pa-shell .pa-time-picker,
.pa-modal-content .pa-time-picker {
    gap: 6px;
}

.pa-shell .pa-time-picker .pa-time-field,
.pa-modal-content .pa-time-picker .pa-time-field {
    flex: 0 0 auto;
}

.pa-shell .pa-time-picker select,
.pa-modal-content .pa-time-picker select {
    min-height: 48px;
    min-width: 76px;
    padding: 10px 14px;
    border: 1px solid #d8e1ea;
    border-radius: 14px;
    background-color: #ffffff;
    color: #0f172a;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.pa-shell .pa-time-picker select:hover,
.pa-modal-content .pa-time-picker select:hover {
    border-color: rgba(15, 118, 110, 0.28);
    transform: translateY(-1px);
}

.pa-shell .pa-time-picker select:focus,
.pa-modal-content .pa-time-picker select:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.38);
    box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.1);
    transform: translateY(-1px);
}

.pa-shell .pa-time-picker .pa-time-sep,
.pa-modal-content .pa-time-picker .pa-time-sep {
    color: #94a3b8;
    min-height: 48px;
    line-height: 48px;
    font-size: 18px;
    padding: 0 2px;
}

.pa-shell .pa-time-picker .pa-time-hint,
.pa-modal-content .pa-time-picker .pa-time-hint {
    font-size: 11px;
    color: #94a3b8;
    opacity: 1;
    font-weight: 600;
}

/* The hourly-leave time range layout */
.pa-modal-content .pa-time-range {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.pa-modal-content .pa-time-range .pa-time-picker {
    flex: 1 1 auto;
    min-width: 0;
}
