.ui-datepicker#ui-datepicker-div {
    position: absolute !important;
    top: 0;
    left: 0;
    display: none;
    margin: 0 !important;
}

.jb-suite-job-form .jb-suite-date-picker-wrap {
    position: relative;
    display: block;
}

.jb-suite-job-form .jb-suite-date-picker {
    padding-right: 38px;
    position: relative;
    z-index: 1;
}

.jb-suite-job-form .jb-suite-date-picker-wrap::before {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h.5A1.5 1.5 0 0 1 15 2.5V4H1V2.5A1.5 1.5 0 0 1 2.5 1H3V.5a.5.5 0 0 1 .5-.5M1 14V5h14v9.5A1.5 1.5 0 0 1 13.5 16h-11A1.5 1.5 0 0 1 1 14m3-7a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0v-1A.5.5 0 0 0 4 7m4 0a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0v-1A.5.5 0 0 0 8 7m4 0a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0v-1A.5.5 0 0 0 12 7m-8 3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0v-1A.5.5 0 0 0 4 10m4 0a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0v-1A.5.5 0 0 0 8 10m4 0a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0v-1A.5.5 0 0 0 12 10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 2;
}

.jb-suite-job-form .jb-suite-date-picker-wrap.jb-suite-date-picker-wrap--native::before {
    display: none;
}

.jb-suite-job-form .jb-suite-date-picker-wrap.jb-suite-date-picker-wrap--native .jb-suite-date-picker {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    min-height: 44px;
    line-height: 1.2;
    padding-right: 12px;
}

.jb-suite-job-form .jb-suite-date-picker-range {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #6b7280;
}

.jb-suite-datepicker-ui.ui-datepicker {
    width: 280px;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
    z-index: 9999 !important;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-header {
    border: 0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 8px;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.jb-suite-datepicker-ui.ui-datepicker select {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    background-image: none;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    height: 30px;
    padding: 0 6px;
    font-size: 13px;
    color: #111827;
}

.jb-suite-datepicker-ui.ui-datepicker table {
    margin: 8px 0 0;
}

.jb-suite-datepicker-ui.ui-datepicker th {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    padding: 4px;
}

.jb-suite-datepicker-ui.ui-datepicker td {
    padding: 2px;
}

.jb-suite-datepicker-ui.ui-datepicker td a,
.jb-suite-datepicker-ui.ui-datepicker td span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #111827;
    text-decoration: none;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-state-hover {
    background: #eef2ff;
    color: #1d4ed8;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-state-active {
    background: #1d4ed8;
    color: #fff;
}

.jb-suite-datepicker-ui.ui-datepicker td.ui-datepicker-unselectable span,
.jb-suite-datepicker-ui.ui-datepicker .ui-state-disabled {
    color: #9ca3af;
    opacity: 0.55;
    cursor: not-allowed;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-prev,
.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-next {
    top: 9px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-prev {
    left: 8px;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-next {
    right: 8px;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-prev .ui-icon,
.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-next .ui-icon {
    background: none;
    text-indent: 0;
    overflow: visible;
    font-size: 0;
    position: static;
    margin: 0;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-prev .ui-icon::before,
.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-next .ui-icon::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #6b7280;
    border-right: 2px solid #6b7280;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-prev .ui-icon::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-next .ui-icon::before {
    transform: rotate(45deg);
    margin-left: 2px;
}

.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-prev.ui-state-disabled,
.jb-suite-datepicker-ui.ui-datepicker .ui-datepicker-next.ui-state-disabled {
    opacity: 0.35;
    pointer-events: none;
}
