:root {
    --bs-app-sidebar-width: 120px;
    --bs-app-header-height: 0px;
    --bs-app-sidebar-primary-width: 120px;
}
@media (max-width: 991.98px) {
    :root {
        --bs-app-header-height: 70px;
    }
}

/* Telerik notifications styled closer to toastr */
.k-notification-group {
    padding: 1rem 1rem 1rem 0;
    gap: 0.5rem;
}

.k-notification {
    min-width: 280px;
    max-width: 420px;
    padding: 10px 16px 10px 48px;
    border-radius: 4px;
    border: none;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 600;
    position: relative;
}

.k-notification::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.k-notification.k-notification-success {
    background-color: #6bbd6f;
}

.k-notification.k-notification-error {
    background-color: #d9534f;
}

.k-notification.k-notification-warning {
    background-color: #f0ad4e;
}

.k-notification.k-notification-info {
    background-color: #5bc0de;
}

/* ── Kanban ───────────────────────────────────────────────────────────── */

/* Ensures empty lanes remain a valid drop target */
.kanban-lane {
    min-height: 80px;
}

.kanban-lane-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.5rem 1rem;
    border: 2px dashed var(--bs-border-color);
    border-radius: 0.475rem;
    pointer-events: none;
}

/* ── Kanban drag-and-drop ─────────────────────────────────────────────── */
.kanban-card-ghost {
    opacity: 0.4;
    border: 2px dashed var(--bs-primary);
    border-radius: 0.475rem;
}

.kanban-card-drag {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    transform: rotate(2deg);
    opacity: 0.95;
}

/* ReportPage image preview fallback (global) */
.report-image-preview {
    width: 120px !important;
    height: 90px !important;
    max-width: 120px !important;
    max-height: 90px !important;
    object-fit: cover;
    display: block;
}

/* ReportPage image list layout */
.report-image-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 4px 12px;
    align-items: start;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.report-image-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    align-items: flex-start;
}

.report-image-filename {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workorder-image-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.workorder-image-meta .report-image-filename {
    display: block;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.report-image-delete-btn {
    align-self: flex-start;
}

.worksheet-table-wrapper {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.625rem;
}

.worksheet-table {
    margin-bottom: 0;
    min-width: 720px;
}

.worksheet-table th,
.worksheet-table td {
    padding: 1rem;
    vertical-align: middle;
}

.worksheet-hours-column {
    width: 180px;
}

.worksheet-action-column {
    width: 72px;
}
