/* General helper classes for view_evictions templates */
.hover-underline:hover {
    text-decoration: underline !important;
}

.errorlist {
    display: none;
}

.custom-readonly {
    background-color: #ffffff !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.flatpickr-calendar {
    margin-top: -60px !important;
}

.flatpickr-input[readonly] {
    background-color: var(--bs-form-control-bg, #fff);
    opacity: 1;
    cursor: text;
    color: var(--bs-body-color, #212529);
    -webkit-text-fill-color: currentColor;
}

.flatpickr-input[readonly]:focus {
    background-color: var(--bs-form-control-bg, #fff);
    border-color: var(--bs-form-control-focus-border-color, #86b7fe);
    outline: 0;
    box-shadow: var(--bs-form-control-focus-box-shadow, 0 0 0 0.25rem rgba(13, 110, 253, 0.25));
}

.flatpickr-input[readonly]::placeholder {
    color: var(--bs-placeholder-color, #6c757d);
    opacity: 1;
}

.hover-cell {
    position: relative;
    transition: background-color 0.3s ease;
}

.inner-cell {
    color: #3B71CA;
    transition: all 0.1s ease;
}

.hover-cell:hover {
    background-color: rgba(0, 0, 100, 0.1);
    cursor: pointer;
}

.hover-cell:hover .inner-cell {
    text-decoration: underline !important;
    transform: scale(1.05);
}

/* Additional employee helpers */
.btn-link {
    text-decoration: none !important;
}

.clickable-row {
    background-color: #f5f5f5;
}

.clickable-row:hover {
    cursor: pointer;
    background-color: #e4e4e4;
}

.clickable-row td:last-child {
    cursor: default;
}

.clickable-row td:last-child button {
    cursor: pointer;
}


.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
