@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.bundle.scp.css';

/* /Controls/ClampedText.razor.rz.scp.css */
.clamp-wrapper[b-uw5axfg7xc] {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 0;
}

.clamp-text[b-uw5axfg7xc] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

/* Single line: truncate with a trailing ellipsis. */
.clamp-text[b-uw5axfg7xc] {
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Multi line: clamp to a configurable number of lines. */
.clamp-text--multiline[b-uw5axfg7xc] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--clamp-lines, 3);
    line-clamp: var(--clamp-lines, 3);
    white-space: normal;
    overflow-wrap: anywhere;
}

/* The three-dots affordance, shown only when the text is actually clamped. */
.text-more-btn[b-uw5axfg7xc] {
    flex: 0 0 auto;
    padding: 0 0.25rem;
    margin: 0;
    border: none;
    background: transparent;
    color: var(--coke-red-color);
    line-height: 1.5rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

    .text-more-btn:hover[b-uw5axfg7xc],
    .text-more-btn:focus-visible[b-uw5axfg7xc] {
        color: var(--dark-coke-red-color);
    }

    .text-more-btn:focus-visible[b-uw5axfg7xc] {
        outline: 2px solid var(--coke-red-color);
        outline-offset: 1px;
        border-radius: 3px;
    }
/* /Controls/NoResults.razor.rz.scp.css */
.no-results-container[b-nkogx64dk1] {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: var(--surface-muted);
    border: 1px solid var(--grey-350);
    border-radius: 10px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.no-results-message[b-nkogx64dk1] {
    font-size: 20px;
    color: var(--grey-750);
    margin-top: 10px;
}

.no-results-suggestion[b-nkogx64dk1] {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
/* /Controls/OTR/PurchaseOrderDataGrid.razor.rz.scp.css */
.scrollable-grid[b-mkxzzxmfox] {
    overflow-y: scroll;
    transition: height 0.3s ease, margin 0.3s ease;
}

/* Create Ticket */
[b-mkxzzxmfox] .btn-create-ticket {
    background: var(--teal-color);
    color: var(--white-color);
}

    [b-mkxzzxmfox] .btn-create-ticket:hover,
    [b-mkxzzxmfox] .btn-create-ticket:active {
        background: var(--dark-teal-color);
        border-color: var(--dark-teal-color);
        color: var(--white-color);
    }

/* View Tickets */
[b-mkxzzxmfox] .btn-view-tickets {
    background: var(--slate-color);
    color: var(--white-color);
}

    [b-mkxzzxmfox] .btn-view-tickets:hover,
    [b-mkxzzxmfox] .btn-view-tickets:active {
        background: var(--slate-dark-color);
        border-color: var(--slate-dark-color);
        color: var(--white-color);
    }
/* /Controls/OTR/StockTransferOrderDataGrid.razor.rz.scp.css */
.scrollable-grid[b-k9ssfgvq2m] {
    transition: height 0.3s ease, margin 0.3s ease;
    overflow-y: scroll;
}

/* Create Ticket */
[b-k9ssfgvq2m] .btn-create-ticket {
    background: var(--teal-color);
    color: var(--white-color);
}

    [b-k9ssfgvq2m] .btn-create-ticket:hover,
    [b-k9ssfgvq2m] .btn-create-ticket:active {
        background: var(--dark-teal-color);
        border-color: var(--dark-teal-color);
        color: var(--white-color);
    }

/* View Tickets */
[b-k9ssfgvq2m] .btn-view-tickets {
    background: var(--slate-color);
    color: var(--white-color);
}

    [b-k9ssfgvq2m] .btn-view-tickets:hover,
    [b-k9ssfgvq2m] .btn-view-tickets:active {
        background: var(--slate-dark-color);
        border-color: var(--slate-dark-color);
        color: var(--white-color);
    }
/* /Controls/OTR/TechToTechOrderDataGrid.razor.rz.scp.css */
.scrollable-grid[b-zisrd0jt7c] {
    transition: height 0.3s ease, margin 0.3s ease;
    overflow-y: scroll;
}
/* /Controls/OTR/TrackingModal.razor.rz.scp.css */
.modal-header[b-cilyf3nhyq] {
    border: none!important;
    padding: 0px!important;
    margin-top: 15px!important;
    margin-left: 15px!important;
    margin-right: 15px!important;
}

.modal-body[b-cilyf3nhyq] {
    padding: 0px!important;
    margin-left: 15px!important;
    margin-top: 2px!important;
}

.modal-content[b-cilyf3nhyq]{
    padding:12px!important;
}

.checkmark-icon[b-cilyf3nhyq] {
    width: 14px;
    height: 14px;
}

.header[b-cilyf3nhyq] {
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline[b-cilyf3nhyq] {
    border-left: 2px solid var(--grey-325);
    padding-left: 20px;
    margin-left: 5%;
}

.event[b-cilyf3nhyq] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
}

.status-icon[b-cilyf3nhyq] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--success-green-color);
    background-color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    flex-shrink: 0;
}

.status-icon.done[b-cilyf3nhyq] {
    background-color: var(--success-green-color);
}

.carrier-tag[b-cilyf3nhyq] {
    background-color: var(--coke-red-color);
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white-color) !important;
    margin-left: 8px;
    text-shadow: 1px 1px 2px rgba(var(--black-rgb), 0.4);
}
/* /Controls/OTR/TrackingNumbersDisplay.razor.rz.scp.css */
.system-generated[b-tf9qffd3og] {
    font-style: italic;
    font-weight: bold;
}

.tracking-row[b-tf9qffd3og] {
    padding: 12px;
    border-bottom: 1px solid var(--grey-175);
    cursor: pointer;
}
/* /Controls/PartsRequests/PartsRequestActionsBar.razor.rz.scp.css */
/* Approve */
[b-9yvwves2kz] .btn-approve {
    background: var(--green-color);
    color: var(--white-color);
}

    [b-9yvwves2kz] .btn-approve:hover,
    [b-9yvwves2kz] .btn-approve:active {
        background: var(--dark-success-green-color);
        border-color: var(--dark-success-green-color);
        color: var(--white-color);
    }

/* Edit */
[b-9yvwves2kz] .btn-edit {
    background: var(--coke-red-color);
    color: var(--white-color);
}

    [b-9yvwves2kz] .btn-edit:hover,
    [b-9yvwves2kz] .btn-edit:active {
        background: var(--dark-coke-red-color);
        border-color: var(--dark-coke-red-color);
        color: var(--white-color);
    }

/* Cancel */
[b-9yvwves2kz] .btn-cancel {
    background: var(--white-color);
    color: var(--coke-red-color);
}

    [b-9yvwves2kz] .btn-cancel:hover,
    [b-9yvwves2kz] .btn-cancel:active {
        background: var(--pink-tint-color);
        border-color: var(--pink-tint-color);
        color: var(--white-color);
    }

/* Assign To Personnel */
[b-9yvwves2kz] .btn-assign {
    background: var(--dark-steel-blue-color);
    color: var(--white-color);
}

    [b-9yvwves2kz] .btn-assign:hover,
    [b-9yvwves2kz] .btn-assign:active {
        background: var(--light-steel-blue-color);
        border-color: var(--light-steel-blue-color);
        color: var(--white-color);
    }

/* Associate POs */
[b-9yvwves2kz] .btn-associate {
    background: var(--darker-silver-grey-color);
    color: var(--white-color);
}

    [b-9yvwves2kz] .btn-associate:hover,
    [b-9yvwves2kz] .btn-associate:active {
        background: var(--dark-silver-grey-color);
        border-color: var(--dark-silver-grey-color);
        color: var(--white-color);
    }

/* Uncancel */
[b-9yvwves2kz] .btn-uncancel {
    background: var(--orange-color);
    color: var(--white-color);
}

    [b-9yvwves2kz] .btn-uncancel:hover,
    [b-9yvwves2kz] .btn-uncancel:active {
        background: var(--dark-orange-color);
        border-color: var(--dark-orange-color);
        color: var(--white-color);
    }

/* Edit POs */
[b-9yvwves2kz] .btn-editpos {
    background: var(--coke-red-color);
    color: var(--white-color);
}

    [b-9yvwves2kz] .btn-editpos:hover,
    [b-9yvwves2kz] .btn-editpos:active {
        background: var(--dark-coke-red-color);
        border-color: var(--dark-coke-red-color);
        color: var(--white-color);
    }

/* Create Ticket */
[b-9yvwves2kz] .btn-create-ticket {
    background: var(--teal-color);
    color: var(--white-color);
}

    [b-9yvwves2kz] .btn-create-ticket:hover,
    [b-9yvwves2kz] .btn-create-ticket:active {
        background: var(--dark-teal-color);
        border-color: var(--dark-teal-color);
        color: var(--white-color);
    }

/* View Tickets */
[b-9yvwves2kz] .btn-view-tickets {
    background: var(--slate-color);
    color: var(--white-color);
}

    [b-9yvwves2kz] .btn-view-tickets:hover,
    [b-9yvwves2kz] .btn-view-tickets:active {
        background: var(--slate-dark-color);
        border-color: var(--slate-dark-color);
        color: var(--white-color);
    }

/* /Controls/Tickets/AttachmentListItem.razor.rz.scp.css */
.attachment-item[b-n3xvmeomyu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--grey-325);
    border-radius: 8px;
    padding: 8px 16px;
    background: var(--white-color);
    flex-shrink: 0;
}

.attachment-item-left[b-n3xvmeomyu] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.attachment-file-icon[b-n3xvmeomyu] {
    font-size: 24px;
    color: var(--grey-700);
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.attachment-file-icon-image[b-n3xvmeomyu] {
    color: var(--office-blue-color);
}

.attachment-file-icon-pdf[b-n3xvmeomyu] {
    color: var(--pdf-red-color);
}

.attachment-file-icon-excel[b-n3xvmeomyu] {
    color: var(--excel-green-color);
}

.attachment-file-icon-word[b-n3xvmeomyu] {
    color: var(--word-blue-color);
}

.attachment-file-icon-text[b-n3xvmeomyu] {
    color: var(--grey-700);
}

.attachment-file-icon-default[b-n3xvmeomyu] {
    color: var(--grey-700);
}

.attachment-file-info[b-n3xvmeomyu] {
    min-width: 0;
    flex: 1 1 auto;
}

.attachment-file-name[b-n3xvmeomyu] {
    display: flex;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-body);
    min-width: 0;
    width: 100%;
}

.attachment-file-name-base[b-n3xvmeomyu] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attachment-file-name-ext[b-n3xvmeomyu] {
    flex-shrink: 0;
    white-space: nowrap;
}

.attachment-file-meta[b-n3xvmeomyu] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--grey-700);
    margin-top: 2px;
}

.attachment-status-separator[b-n3xvmeomyu] {
    color: var(--grey-500);
}

.attachment-status[b-n3xvmeomyu] {
    color: var(--grey-700);
}

.attachment-status-success[b-n3xvmeomyu] {
    color: var(--excel-green-color);
}

.attachment-status-progress[b-n3xvmeomyu] {
    color: var(--office-blue-color);
}

.attachment-status-error[b-n3xvmeomyu] {
    color: var(--pdf-red-color);
}

.attachment-error[b-n3xvmeomyu] {
    font-size: 13px;
    color: var(--pdf-red-color);
    margin-top: 4px;
}

.attachment-progress[b-n3xvmeomyu] {
    height: 4px;
    background-color: var(--grey-175);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.attachment-progress-bar[b-n3xvmeomyu] {
    height: 100%;
    background-color: var(--office-blue-color);
    border-radius: 4px;
}

.attachment-item-actions[b-n3xvmeomyu] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.attachment-action-button[b-n3xvmeomyu] {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    flex-shrink: 0;
}

    .attachment-action-button:hover[b-n3xvmeomyu] {
        color: var(--text-body);
    }

    .attachment-action-button:disabled[b-n3xvmeomyu] {
        color: var(--grey-450);
        cursor: not-allowed;
    }

.attachment-download-button[b-n3xvmeomyu] {
    color: var(--office-blue-color);
}

    .attachment-download-button:hover[b-n3xvmeomyu] {
        color: var(--dark-office-blue-color);
    }

.attachment-remove-button[b-n3xvmeomyu] {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    flex-shrink: 0;
}

    .attachment-remove-button:hover[b-n3xvmeomyu] {
        color: var(--text-body);
    }

    .attachment-remove-button:disabled[b-n3xvmeomyu] {
        color: var(--grey-450);
        cursor: not-allowed;
    }
/* /Controls/Tickets/AttachmentsListView.razor.rz.scp.css */
.attachment-list[b-2vnf1br1qv] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-right: 4px;
}

    .attachment-list[b-2vnf1br1qv]::-webkit-scrollbar {
        width: 6px;
    }

    .attachment-list[b-2vnf1br1qv]::-webkit-scrollbar-thumb {
        background-color: var(--cool-grey-400);
        border-radius: 4px;
    }

    .attachment-list[b-2vnf1br1qv]::-webkit-scrollbar-track {
        background-color: transparent;
    }

.modal-attachment-list[b-2vnf1br1qv] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* md only */
    .attachment-list[b-2vnf1br1qv] {
        display: none;
    }
}
/* /Controls/Tickets/InvalidAttachmentsModal.razor.rz.scp.css */
.invalid-attachment-item[b-sb7ejwxyua] {
        padding: 8px 12px;
        background-color: var(--light-grey-color);
        border-left: 3px solid var(--coke-red-color);
        border-radius: 4px;
    }

        .invalid-attachment-item i[b-sb7ejwxyua] {
            margin-right: 8px;
            color: var(--coke-red-color);
        }
/* /Controls/Tickets/TicketActivityTimeline.razor.rz.scp.css */
.ticket-activity-panel[b-7ghfdwf0cr] {
    flex: 0 0 28rem;
    max-width: 28rem;
    min-height: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.6rem;
    background: var(--white-color);
}

.ticket-activity-backdrop[b-7ghfdwf0cr],
.ticket-activity-close[b-7ghfdwf0cr] {
    display: none;
}

.ticket-activity-header[b-7ghfdwf0cr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    font-weight: 700;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.ticket-activity-unread-badge[b-7ghfdwf0cr] {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white-color);
    background: var(--coke-red-color);
    border-radius: 999px;
    min-width: 1.25rem;
    padding: 0.05rem 0.4rem;
    text-align: center;
    line-height: 1.2;
}

.ticket-activity-mark-all[b-7ghfdwf0cr] {
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--coke-red-color);
    cursor: pointer;
    white-space: nowrap;
}

.ticket-activity-mark-all:hover[b-7ghfdwf0cr] {
    text-decoration: underline;
    color: var(--dark-coke-red-color);
}

.ticket-activity-list[b-7ghfdwf0cr] {
    position: relative;
    overflow-y: auto;
    padding: 0.75rem 0.9rem;
    min-height: 0;
}

.ticket-activity-loading-overlay[b-7ghfdwf0cr] {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(1px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-activity-loading-content[b-7ghfdwf0cr] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
}

.btn.custom-btn-silver-grey:disabled[b-7ghfdwf0cr] {
    background-color: var(--dark-silver-grey-color) !important;
    color: var(--white-color) !important;
    border-color: var(--dark-silver-grey-color) !important;
    opacity: 1 !important;
}

.ticket-activity-post[b-7ghfdwf0cr] {
    flex-shrink: 0;
    border-top: 1px solid var(--border-color);
    padding: 0.6rem 0.9rem;
    background: var(--light-grey, #f7f7f7);
    border-radius: 0 0 0.6rem 0.6rem;
}

.ticket-activity-post-label[b-7ghfdwf0cr] {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 0.3rem;
}

.ticket-activity-post-input[b-7ghfdwf0cr] {
    resize: vertical;
    min-height: 2.5rem;
}

.ticket-activity-post-actions[b-7ghfdwf0cr] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.ticket-activity-empty[b-7ghfdwf0cr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 100%;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ticket-activity-item[b-7ghfdwf0cr] {
    display: flex;
    gap: 0.6rem;
    padding: 0 0 1rem 0.175rem;
    position: relative;
}

.ticket-activity-item--unread .ticket-activity-title[b-7ghfdwf0cr] {
    font-weight: 700;
}

.ticket-activity-item--unread[b-7ghfdwf0cr]::after {
    content: "";
    position: absolute;
    left: -0.4rem;
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--coke-red-color);
    box-shadow: 0 0 0 0 var(--coke-red-color);
    animation: ticket-activity-unread-pulse-b-7ghfdwf0cr 2s ease-out infinite;
}

@keyframes ticket-activity-unread-pulse-b-7ghfdwf0cr {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 0, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 0.4rem rgba(244, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 0, 0, 0);
    }
}

.ticket-activity-item--comment .ticket-activity-detail[b-7ghfdwf0cr] {
    color: var(--text-body);
    font-size: 0.83rem;
    border-left: 2px solid var(--coke-red-color);
    padding-left: 0.5rem;
}

.ticket-activity-avatar[b-7ghfdwf0cr] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ticket-activity-item:not(:last-child)[b-7ghfdwf0cr]::before {
    content: "";
    position: absolute;
    left: 1.05rem;
    top: 1.8rem;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.ticket-activity-icon[b-7ghfdwf0cr] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white-color);
    flex-shrink: 0;
    z-index: 1;
    background: var(--text-muted);
}

.timeline-accent--field-change .ticket-activity-icon[b-7ghfdwf0cr] {
    background: var(--dark-steel-blue-color);
}

.timeline-accent--attachment .ticket-activity-icon[b-7ghfdwf0cr] {
    background: var(--orange-color);
}

.timeline-accent--comment .ticket-activity-icon[b-7ghfdwf0cr] {
    background: var(--light-steel-blue-color);
}

.timeline-accent--status .ticket-activity-icon[b-7ghfdwf0cr] {
    background: var(--dark-green-color);
}

.timeline-accent--closed .ticket-activity-icon[b-7ghfdwf0cr] {
    background: var(--black-color);
}

.timeline-accent--reopened .ticket-activity-icon[b-7ghfdwf0cr] {
    background: var(--dark-green-color);
}

.ticket-activity-body[b-7ghfdwf0cr] {
    min-width: 0;
    flex: 1 1 auto;
}

.ticket-activity-title-row[b-7ghfdwf0cr] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
}

.ticket-activity-title[b-7ghfdwf0cr] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    flex-grow: 1;
    min-width: 0;
}

.ticket-activity-detail[b-7ghfdwf0cr] {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.ticket-activity-meta[b-7ghfdwf0cr] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    margin-top: 0.25rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (max-width: 991.98px) {
    .ticket-activity-backdrop[b-7ghfdwf0cr] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease;
        z-index: 1045;
    }

    .ticket-activity-backdrop.is-open[b-7ghfdwf0cr] {
        opacity: 1;
        visibility: visible;
    }

    .ticket-activity-panel[b-7ghfdwf0cr] {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(28rem, 92vw);
        max-width: 92vw;
        max-height: none;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 1046;
        box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.2);
    }

    .ticket-activity-panel.is-open[b-7ghfdwf0cr] {
        transform: translateX(0);
    }

    .ticket-activity-close[b-7ghfdwf0cr] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: var(--text-muted);
        font-size: 1rem;
        line-height: 1;
        cursor: pointer;
        margin-left: auto;
    }
}
/* /Controls/Tickets/TicketAttachmentControl.razor.rz.scp.css */
.attachment-card[b-g9kox3fklf] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 15px;
    background: var(--white-color);
}

.attachment-header-upload[b-g9kox3fklf] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.attachment-header[b-g9kox3fklf] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
    flex-shrink: 0;
}

.attachment-header-icon[b-g9kox3fklf] {
    color: var(--grey-700);
    font-size: 16px;
}

.attachment-title[b-g9kox3fklf] {
    font-size: 16px;
    font-weight: 650;
    color: var(--text-body);
}

.attachment-upload-box[b-g9kox3fklf] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    border: 2px dashed var(--cool-grey-300);
    background-color: var(--surface-muted);
    border-radius: 10px;
    padding: 3px 3px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

    .attachment-upload-box:hover[b-g9kox3fklf] {
        border-color: var(--grey-450);
        background-color: var(--grey-125);
    }

.attachment-upload-box-disabled[b-g9kox3fklf] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

[b-g9kox3fklf] input.attachment-file-input {
    display: none !important;
}

.attachment-upload-content[b-g9kox3fklf] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.attachment-upload-icon[b-g9kox3fklf] {
    font-size: 16px;
    color: var(--text-muted);
}

.attachment-upload-text[b-g9kox3fklf] {
    font-size: 16px;
    color: var(--grey-750);
}

.attachment-upload-link[b-g9kox3fklf] {
    color: var(--coke-red-color);
    font-weight: 500;
}

.attachment-upload-hint[b-g9kox3fklf] {
    font-size: 10px;
    margin-top: 5px;
    color: var(--grey-700);
}


.attachment-tablet-landscape-action[b-g9kox3fklf] {
    display: none;
}

.attachment-empty-state[b-g9kox3fklf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 12px;
    color: var(--text-subtle);
    text-align: center;
    flex: 1 1 auto;
}

.attachment-empty-icon[b-g9kox3fklf] {
    font-size: 22px;
    color: var(--grey-475);
}

.attachment-empty-text[b-g9kox3fklf] {
    font-size: 13px;
    font-weight: 500;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* md only — swap inline list for modal-triggered view */
    /* ::deep is required because .attachment-list lives on the root element
       of the AttachmentsListView child component, outside this file's scope. */
    .attachment-card[b-g9kox3fklf] {
        padding: 5px 10px;
    }
    .attachment-card[b-g9kox3fklf]  .attachment-list {
        display: none;
    }

    .attachment-header-upload[b-g9kox3fklf] {
        flex-shrink: 0;
    }

    .attachment-tablet-landscape-action[b-g9kox3fklf] {
        display: flex;
        flex-grow: 1;
        justify-content: center;
        align-items: center;
        min-height: 1rem;
    }

    .attachment-view-btn[b-g9kox3fklf] {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.15rem 0.9rem;
        font-size: 0.85rem;
        border-radius: 0.45rem;
    }

    .attachment-view-btn-spinner[b-g9kox3fklf] {
        width: 0.85rem;
        height: 0.85rem;
        border-width: 0.15em;
    }

    .attachment-view-btn-failed-badge[b-g9kox3fklf] {
        font-size: 0.7rem;
        font-weight: 600;
        padding: 0.15rem 0.4rem;
    }

    .attachment-empty-state[b-g9kox3fklf] {
        flex-direction: row;
        gap: 8px;
        padding: 6px 8px;
        min-height: 2.2rem;
    }

    .attachment-empty-icon[b-g9kox3fklf] {
        font-size: 14px;
    }

    .attachment-empty-text[b-g9kox3fklf] {
        font-size: 0.85rem;
    }

    .attachments-modal-max-heigh[b-g9kox3fklf] {
        max-height: 60vh;
        overflow-y: auto;
    }
}
/* /Controls/Tickets/TicketCreateForm.razor.rz.scp.css */


.ticket-create-form[b-ukul8zegau] {
    min-height: 0;
}

.ticket-create-card[b-ukul8zegau] {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem;
    background: var(--white-color);
    min-height: 0;
    box-shadow: 0 4px 14px rgba(var(--black-rgb), 0.08);
}
.ticket-card-header[b-ukul8zegau] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    padding-bottom: 0.9rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.ticket-title-block[b-ukul8zegau] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ticket-title-icon[b-ukul8zegau] {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
    border-radius: 0.75rem;
    background: var(--coke-red-tint-color);
    color: var(--coke-red-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ticket-card-title[b-ukul8zegau] {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-body);
    line-height: 1.2;
}

.ticket-card-subtitle[b-ukul8zegau] {
    margin-top: 0.15rem;
    font-size: 1rem;
    color: var(--text-muted);
}
.ticket-create-content[b-ukul8zegau] {
    min-height: 0;
}

.ticket-fields[b-ukul8zegau] {
    flex-shrink: 0;
}

.ticket-description[b-ukul8zegau] {
    min-height: 9rem;
    word-wrap: break-word;
    white-space: pre-wrap;
    resize: vertical;
}

.ticket-attachments[b-ukul8zegau] {
    min-height: 0;
}

.ticket-form-footer[b-ukul8zegau] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding-top: 0.75rem;
}


@media (max-width: 991.98px) {
    /* md, sm, xs */

    .ticket-create-card[b-ukul8zegau] {
        padding-top: .5rem;
        padding-bottom: .5rem;
        margin-top: .2rem;
        margin-bottom: .2rem;
    }

    .ticket-card-header[b-ukul8zegau] {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .ticket-title-icon[b-ukul8zegau] {
        width: 2rem;
        height: 2rem;
        font-size: .8rem;
        border-radius: 0.6rem;
    }

    .ticket-card-title[b-ukul8zegau] {
        font-size: 1.1rem;
        font-weight: 650;
        line-height: .9;
    }

    .ticket-card-subtitle[b-ukul8zegau] {
        margin-top: 0.1rem;
        font-size: .7rem;
    }

    .ticket-form-footer[b-ukul8zegau] {
        padding-top: 0.3rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* md only */
    .ticket-create-card[b-ukul8zegau] {
        padding-top: .2rem;
        padding-bottom: .2rem;
        margin-top: .1rem;
        margin-bottom: .1rem;
    }

    .ticket-card-header[b-ukul8zegau] {
        padding-bottom: 0.2rem;
        margin-bottom: 0.2rem;
    }
    [b-ukul8zegau] textarea.ticket-description {
        min-height: 5rem;
        height: 5rem;
    }

    .ticket-form-footer button[b-ukul8zegau] {
        padding-top: .1rem;
        padding-bottom: .1rem;
        font-weight: 600;
    }
}
/* /Controls/Tickets/TicketLinkedRecordSummary.razor.rz.scp.css */
.ticket-linked-record-summary[b-5tqe0rgtaj] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.linked-record-row[b-5tqe0rgtaj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
}

.linked-record-chip[b-5tqe0rgtaj] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    margin: 0;
    background: var(--grey-100);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1;
    color: var(--light-black-color);
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

.linked-record-chip i[b-5tqe0rgtaj] {
    font-size: 0.8rem;
    color: var(--text-subtle);
}

.linked-record-chip-label[b-5tqe0rgtaj] {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.linked-record-chip-value[b-5tqe0rgtaj] {
    font-weight: 700;
    color: var(--text-body);
}

.linked-record-chip--primary[b-5tqe0rgtaj] {
    background: var(--coke-red-tint-color);
    border-color: var(--coke-red-tint-border-color);
}

    .linked-record-chip--primary i[b-5tqe0rgtaj],
    .linked-record-chip--primary .linked-record-chip-value[b-5tqe0rgtaj] {
        color: var(--coke-red-color);
    }

.linked-record-chip--clickable[b-5tqe0rgtaj] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

    .linked-record-chip--clickable:hover[b-5tqe0rgtaj] {
        background: var(--coke-red-tint-hover-color);
        border-color: var(--coke-red-tint-border-hover-color);
        box-shadow: 0 4px 10px rgba(var(--coke-red-rgb), 0.15);
        transform: translateY(-1px);
    }

    .linked-record-chip--clickable:focus-visible[b-5tqe0rgtaj] {
        outline: 2px solid var(--coke-red-color);
        outline-offset: 2px;
    }

.linked-record-badge[b-5tqe0rgtaj] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.7rem 0.25rem 0.3rem;
    background: var(--white-color);
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(var(--black-rgb), 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .linked-record-badge:hover[b-5tqe0rgtaj] {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(var(--black-rgb), 0.12);
    }

.linked-record-badge-icon[b-5tqe0rgtaj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    font-size: 0.72rem;
    color: var(--white-color);
    flex-shrink: 0;
}

.linked-record-badge-text[b-5tqe0rgtaj] {
    display: inline-flex;
    flex-direction: column;
    gap: 0.12rem;
}

.linked-record-badge-label[b-5tqe0rgtaj] {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.linked-record-badge-value[b-5tqe0rgtaj] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--grey-850);
}

.linked-record-badge--plant .linked-record-badge-icon[b-5tqe0rgtaj] {
    background: linear-gradient(135deg, var(--cyan-gradient-start-color), var(--cyan-gradient-end-color));
}

.linked-record-badge--sloc .linked-record-badge-icon[b-5tqe0rgtaj] {
    background: linear-gradient(135deg, var(--violet-gradient-start-color), var(--violet-gradient-end-color));
}

@media (max-width: 575.98px) {
    .linked-record-chip[b-5tqe0rgtaj] {
        padding: 0.25rem 0.55rem;
        font-size: 0.78rem;
    }

    .linked-record-badge-icon[b-5tqe0rgtaj] {
        width: 1.4rem;
        height: 1.4rem;
    }

    .linked-record-badge-value[b-5tqe0rgtaj] {
        font-size: 0.8rem;
    }
}
/* /Controls/Tickets/TicketUpdateForm.razor.rz.scp.css */
.ticket-update-form[b-53e2xlgptw] {
    min-height: 0;
}

.ticket-update-card[b-53e2xlgptw] {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem;
    background: var(--white-color);
    min-height: 0;
    box-shadow: 0 4px 14px rgba(var(--black-rgb), 0.08);
}

.ticket-card-header[b-53e2xlgptw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    padding-bottom: 0.9rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.ticket-title-block[b-53e2xlgptw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ticket-title-icon[b-53e2xlgptw] {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
    border-radius: 0.75rem;
    background: var(--coke-red-tint-color);
    color: var(--coke-red-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ticket-card-title[b-53e2xlgptw] {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-body);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ticket-number-chip[b-53e2xlgptw] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--coke-red-color);
    background: var(--coke-red-tint-color);
    border-radius: 0.5rem;
    padding: 0.1rem 0.5rem;
}

.ticket-card-subtitle[b-53e2xlgptw] {
    margin-top: 0.15rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.ticket-update-content[b-53e2xlgptw] {
    min-height: 0;
    gap: 1rem;
    overflow: hidden;
}

.ticket-update-main[b-53e2xlgptw] {
    min-height: 0;
    overflow: hidden;
    flex: 1 1 auto;
    padding-right: 0.25rem;
}

.ticket-fields[b-53e2xlgptw] {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.ticket-description[b-53e2xlgptw] {
    min-height: 9rem;
    word-wrap: break-word;
    white-space: pre-wrap;
    resize: vertical;
}

.ticket-attachments[b-53e2xlgptw] {
    min-height: 0;
}

/* Activity timeline panel */
.ticket-activity-panel[b-53e2xlgptw] {
    flex: 0 0 22rem;
    max-width: 22rem;
    min-height: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.6rem;
    background: var(--white-color);
}

/* Off-canvas affordances are hidden on desktop where the panel is a fixed column. */
.ticket-activity-backdrop[b-53e2xlgptw],
.ticket-activity-close[b-53e2xlgptw] {
    display: none;
}

.ticket-activity-header[b-53e2xlgptw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    font-weight: 700;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.ticket-activity-unread-badge[b-53e2xlgptw] {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white-color);
    background: var(--coke-red-color);
    border-radius: 999px;
    min-width: 1.25rem;
    padding: 0.05rem 0.4rem;
    text-align: center;
    line-height: 1.2;
}

/* Inline unread-count chip inside the Activity toggle button (md/sm/xs). Sits after the
   label as a translucent white pill so it reads clearly on the red button without the
   "error badge" connotation of a corner badge. Pulses once-per-change to draw the eye. */
.ticket-activity-toggle-count[b-53e2xlgptw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.2rem;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    animation: ticket-activity-count-pulse-b-53e2xlgptw 1.8s ease-out infinite;
}

@keyframes ticket-activity-count-pulse-b-53e2xlgptw {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
    }
    70% {
        box-shadow: 0 0 0 0.4rem rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Activity toggle button (md/sm/xs only) - visually distinct & fancy */
.ticket-activity-toggle-btn[b-53e2xlgptw] {
    position: relative;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--coke-red-color) 0%, var(--dark-coke-red-color, #a4121f) 100%);
    border: 0;
    border-radius: 0.6rem;
    transition: transform 0.18s ease, filter 0.18s ease;
    overflow: hidden;
}

    /* subtle shine sweep */
    .ticket-activity-toggle-btn[b-53e2xlgptw]::before {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
        transform: skewX(-20deg);
        transition: left 0.6s ease;
    }

    .ticket-activity-toggle-btn:hover[b-53e2xlgptw],
    .ticket-activity-toggle-btn:focus[b-53e2xlgptw] {
        color: var(--white-color);
        transform: translateY(-1px);
        filter: brightness(1.05);
    }

        .ticket-activity-toggle-btn:hover[b-53e2xlgptw]::before {
            left: 130%;
        }

    .ticket-activity-toggle-btn:active[b-53e2xlgptw] {
        transform: translateY(0);
    }

.ticket-activity-mark-all[b-53e2xlgptw] {
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--coke-red-color);
    cursor: pointer;
    white-space: nowrap;
}

    .ticket-activity-mark-all:hover[b-53e2xlgptw] {
        text-decoration: underline;
        color: var(--dark-coke-red-color);
    }

.ticket-activity-list[b-53e2xlgptw] {
    overflow-y: auto;
    padding: 0.75rem 0.9rem;
    min-height: 0;
}

.ticket-activity-post[b-53e2xlgptw] {
    flex-shrink: 0;
    border-top: 1px solid var(--border-color);
    padding: 0.6rem 0.9rem;
    background: var(--light-grey, #f7f7f7);
    border-radius: 0 0 0.6rem 0.6rem;
}

.ticket-activity-post-label[b-53e2xlgptw] {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 0.3rem;
}

.ticket-activity-post-input[b-53e2xlgptw] {
    resize: vertical;
    min-height: 2.5rem;
}

.ticket-activity-post-actions[b-53e2xlgptw] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.ticket-activity-empty[b-53e2xlgptw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 100%;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ticket-activity-item[b-53e2xlgptw] {
    display: flex;
    gap: 0.6rem;
    padding: 0 0 1rem 0.175rem;
    position: relative;
}

.ticket-activity-item--unread .ticket-activity-title[b-53e2xlgptw] {
    font-weight: 700;
}

.ticket-activity-item--unread[b-53e2xlgptw]::after {
    content: "";
    position: absolute;
    left: -0.4rem;
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--coke-red-color);
    box-shadow: 0 0 0 0 var(--coke-red-color);
    animation: ticket-activity-unread-pulse-b-53e2xlgptw 2s ease-out infinite;
}

@keyframes ticket-activity-unread-pulse-b-53e2xlgptw {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 0, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 0.4rem rgba(244, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 0, 0, 0);
    }
}

/* Human-authored comments keep the same row rhythm as system events, but get a
   subtle left accent and an initials avatar so they remain easy to spot. */
.ticket-activity-item--comment .ticket-activity-detail[b-53e2xlgptw] {
    color: var(--text-body);
    font-size: 0.83rem;
    border-left: 2px solid var(--coke-red-color);
    padding-left: 0.5rem;
}

.ticket-activity-avatar[b-53e2xlgptw] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ticket-activity-item:not(:last-child)[b-53e2xlgptw]::before {
    content: "";
    position: absolute;
    left: 1.05rem;
    top: 1.8rem;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.ticket-activity-icon[b-53e2xlgptw] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white-color);
    flex-shrink: 0;
    z-index: 1;
    background: var(--text-muted);
}

.timeline-accent--field-change .ticket-activity-icon[b-53e2xlgptw] {
    background: #0d6efd;
}

.timeline-accent--attachment .ticket-activity-icon[b-53e2xlgptw] {
    background: #fd7e14;
}

.timeline-accent--comment .ticket-activity-icon[b-53e2xlgptw] {
    background: #0dcaf0;
}

.timeline-accent--status .ticket-activity-icon[b-53e2xlgptw] {
    background: #198754;
}

.timeline-accent--closed .ticket-activity-icon[b-53e2xlgptw] {
    background: var(--black-color);
}

.timeline-accent--reopened .ticket-activity-icon[b-53e2xlgptw] {
    background: var(--dark-green-color);
}

.ticket-activity-body[b-53e2xlgptw] {
    min-width: 0;
    flex: 1 1 auto;
}

.ticket-activity-title-row[b-53e2xlgptw] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
}

.ticket-activity-title[b-53e2xlgptw] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    flex-grow: 1;
    min-width: 0;
}

.ticket-activity-detail[b-53e2xlgptw] {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.ticket-activity-meta[b-53e2xlgptw] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    margin-top: 0.25rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.ticket-form-footer[b-53e2xlgptw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding-top: 0.75rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Normalize the BlazorBootstrap Close dropdown toggle so it lines up with the sibling
   plain .btn buttons (same line-height/height).
   NOTE: ::deep must be anchored on .ticket-form-footer (owned by THIS component so it
   carries the scope attribute); anchoring on .ticket-close-dropdown fails because that
   element is rendered by the BlazorBootstrap child component and has no scope id. */
.ticket-form-footer[b-53e2xlgptw]  .ticket-close-toggle {
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    /* md, sm, xs - activity timeline becomes an off-canvas slide-in drawer */
    .ticket-update-content[b-53e2xlgptw] {
        flex-direction: column;
        overflow: hidden;
    }

    .ticket-update-main[b-53e2xlgptw] {
        min-height: 0;
        overflow: hidden;
    }

    .ticket-activity-backdrop[b-53e2xlgptw] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease;
        z-index: 1045;
    }

        .ticket-activity-backdrop.is-open[b-53e2xlgptw] {
            opacity: 1;
            visibility: visible;
        }

    .ticket-activity-panel[b-53e2xlgptw] {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(22rem, 88vw);
        max-width: 88vw;
        max-height: none;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 1046;
        box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.2);
    }

        .ticket-activity-panel.is-open[b-53e2xlgptw] {
            transform: translateX(0);
        }

    .ticket-activity-close[b-53e2xlgptw] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: var(--text-muted);
        font-size: 1rem;
        line-height: 1;
        cursor: pointer;
        margin-left: auto;
    }

    .ticket-update-card[b-53e2xlgptw] {
        padding-top: .5rem;
        padding-bottom: .5rem;
        margin-top: .2rem;
        margin-bottom: .2rem;
    }

    .ticket-card-header[b-53e2xlgptw] {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .ticket-title-icon[b-53e2xlgptw] {
        width: 2rem;
        height: 2rem;
        font-size: .8rem;
        border-radius: 0.6rem;
    }

    .ticket-card-title[b-53e2xlgptw] {
        font-size: 1.1rem;
        font-weight: 650;
        line-height: 1;
    }

    .ticket-card-subtitle[b-53e2xlgptw] {
        margin-top: 0.1rem;
        font-size: .7rem;
    }

    .ticket-form-footer[b-53e2xlgptw] {
        padding-top: 0.3rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* md only */
    .ticket-update-card[b-53e2xlgptw] {
        padding-top: .2rem;
        padding-bottom: .2rem;
        margin-top: .1rem;
        margin-bottom: .1rem;
    }

    /* Allow the fields/attachments column to scroll on md so the attachment
       action button stays reachable when the header grows (e.g. closed badge). */
    .ticket-update-main[b-53e2xlgptw] {
        overflow-y: auto;
    }

    .ticket-card-header[b-53e2xlgptw] {
        padding-bottom: 0.2rem;
        margin-bottom: 0.2rem;
    }

    [b-53e2xlgptw] textarea.ticket-description {
        min-height: 5rem;
        height: 5rem;
    }

    .ticket-form-footer button[b-53e2xlgptw] {
        padding-top: .1rem;
        padding-bottom: .1rem;
        font-weight: 600;
    }

    /* The Close dropdown toggle is rendered by the BlazorBootstrap child component, so it
       doesn't carry this component's scope attribute and misses the rule above. Mirror the
       reduced padding via ::deep (anchored on .ticket-form-footer which IS scoped). */
    .ticket-form-footer[b-53e2xlgptw]  .ticket-close-toggle {
        padding-top: .1rem;
        padding-bottom: .1rem;
        font-weight: 600;
    }
}

@media (max-width: 767.98px) {
    /* sm, xs - hide footer button icons to save horizontal space so the
       action buttons stay on a single row. */
    .btn-icon-collapsible[b-53e2xlgptw] {
        display: none;
    }
}
/* /Controls/Unauthorized.razor.rz.scp.css */
.not-authorized-container[b-1b0poe9ohu] {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: var(--unauthorized-bg-color);
    border: 1px solid var(--unauthorized-border-color);
    border-radius: 10px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.not-authorized-message[b-1b0poe9ohu] {
    font-size: 28px;
    color: var(--danger-text-color);
    margin-top: 10px;
}

.not-authorized-description[b-1b0poe9ohu] {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* /Layout/MainLayout.razor.rz.scp.css */

.navbar[b-1czwyuslt4] {
    height: 52px;
    background-color: var(--coke-red-color);
}

.navbar-toggler[b-1czwyuslt4] {
    margin-right: 0.5rem;
    outline: none;
    box-shadow: none;
}

    .navbar-toggler:focus[b-1czwyuslt4] {
        outline: none;
        box-shadow: none;
    }

.navbar-toggler-icon[b-1czwyuslt4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand[b-1czwyuslt4] {
    margin-right: 1rem;
}

.navbar-text[b-1czwyuslt4] {
    margin-left: auto; /* Push the username to the right */
    white-space: nowrap; /* Prevent username from wrapping to a new line */
}

.navbar-collapse[b-1czwyuslt4] {
    display: none !important;
}

.custom-overlay[b-1czwyuslt4] {
    position: fixed;
    top: 52px;
    left: -100%;
    width: 50%;
    height: 100%;
    background-color: rgba(var(--black-rgb), 0.9);
    transition: left 0.1s ease-in-out;
    z-index: 9999;
}

    .custom-overlay.show[b-1czwyuslt4] {
        left: 0;
    }

    .custom-overlay ul[b-1czwyuslt4] {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .custom-overlay .nav-link[b-1czwyuslt4] {
        display: block;
        color: var(--white-color) !important;
    }

[b-1czwyuslt4] a.nav-link:hover,
[b-1czwyuslt4] a.nav-link:focus {
    font-weight: bold;
}

[b-1czwyuslt4] a.nav-link.active {
    font-weight: bold;
}
/* Hide the burger icon on large screens */
@media (min-width: 992px) {

    .navbar-text[b-1czwyuslt4] {
        order: 1; /* Ensure username stays in the same order */
    }

    .navbar-nav[b-1czwyuslt4] {
        text-align: center;
    }

    .navbar-toggler[b-1czwyuslt4] {
        display: none;
    }

    .custom-overlay[b-1czwyuslt4] {
        position: static;
        background-color: transparent;
        left: 0;
        width: 100%;
        height: auto;
        display: block !important;
        padding: 0;
    }

        .custom-overlay ul[b-1czwyuslt4] {
            display: flex;
            justify-content: flex-end;
        }

    [b-1czwyuslt4].custom-overlay .nav-link {
        margin: 0 1rem;
        font-size: 1rem;
    }
}

/* Burger icon and overlay for smaller screens */
@media (max-width: 991px) {
    .navbar-toggler[b-1czwyuslt4] {
        display: block;
    }

    .collapse:not(.show)[b-1czwyuslt4] {
        display: none;
    }
}

@media (max-width: 601px) {
    .custom-overlay[b-1czwyuslt4] {
        width: 40%;
    }
}

.main-container[b-1czwyuslt4] {
    height: calc(100dvh - 52px);
}
/* /Pages/Home.razor.rz.scp.css */
.parts-home-page[b-fp4dq6n99g] {
    background-color: var(--grey-250);
    min-height: calc(100vh - 52px);
}

.hero-section[b-fp4dq6n99g] {
    background-color: var(--grey-100);
    border-bottom: 1px solid var(--grey-350);
    padding: 1.25rem 0;
}

.hero-logo-wrapper[b-fp4dq6n99g],
.hero-content[b-fp4dq6n99g] {
    min-height: unset;
}

.hero-logo[b-fp4dq6n99g] {
    max-height: 110px; 
}

.hero-title[b-fp4dq6n99g] {
    font-size: 1.8rem; 
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.hero-subtitle[b-fp4dq6n99g] {
    font-size: 1.2rem; 
    color: var(--slate-light-color);
}

.cards-section[b-fp4dq6n99g] {
    padding: 3rem 0 4rem;
}

.portal-card[b-fp4dq6n99g] {
    background: var(--grey-75);
    border: 1px solid var(--cool-grey-300);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(var(--black-rgb), 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

    .portal-card:hover[b-fp4dq6n99g],
    .portal-card:focus[b-fp4dq6n99g],
    .portal-card:focus-within[b-fp4dq6n99g] {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(var(--black-rgb), 0.08);
        border-color: var(--cool-grey-400);
    }

.card-icon-box[b-fp4dq6n99g] {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    background-color: var(--grey-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .card-icon-box i[b-fp4dq6n99g] {
        font-size: 2rem;
        color: var(--coke-red-color);
    }

.card-title[b-fp4dq6n99g] {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-dark-color);
    line-height: 1;
}

.card-description[b-fp4dq6n99g] {
    font-size: 1rem;
    color: var(--slate-color);
    line-height: 1.45;
    max-width: 90%;
}

/* Tablet */
@media (max-width: 991.98px) {

    .hero-logo-wrapper[b-fp4dq6n99g],
    .hero-content[b-fp4dq6n99g] {
        min-height: auto;
    }

    .portal-card[b-fp4dq6n99g] {
    padding:.7rem;
    }

        .cards-section[b-fp4dq6n99g] {
            padding: 1rem 0 1rem;
        }

        .card-icon-box[b-fp4dq6n99g] {
            width: 35px;
            height: 35px;
            min-width: 35px;
        }

            .card-icon-box i[b-fp4dq6n99g] {
                font-size: 1.5rem;
            }

        .card-title[b-fp4dq6n99g] {
            font-size: 1.2rem;
            line-height: 1;
        }

        .card-description[b-fp4dq6n99g] {
            font-size: 1rem;
            max-width: 100%;
        }
    }

/* /Pages/OpenTransitReport.razor.rz.scp.css */
/* For Tab in Portrait Mode */
@media only screen and (max-width: 800px) and (orientation: portrait) {
    .icon-btn[b-jqkix71z37] {
        padding: .5px;
        bottom: 5px;
    }
}
/* For Tab in Landscape Mode */
@media only screen and (max-width: 960px) and (orientation: landscape) {
    .icon-btn[b-jqkix71z37] {
        padding: 10px;
    }
}
/* /Pages/Parts.razor.rz.scp.css */
.scrollable-grid[b-rlhuoqigcp] {
    transition: height 0.3s ease, margin 0.3s ease;
    overflow-y: scroll;
}
/* /Pages/PartsLocator.razor.rz.scp.css */

.scrollable-grid[b-nwjxc9pezy] {
    overflow-y: scroll;
    transition: height 0.3s ease, margin 0.3s ease;
}
/* /Pages/PartsRequests/PartsRequestDetailView.razor.rz.scp.css */
/* /Pages/PartsRequests/PartsRequestEditPOView.razor.rz.scp.css */
/* Part Selection Styles */
.part-card-selectable[b-da0hr0vncs] {
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Allow text selection and proper cursor in form controls */
.part-card-selectable .form-control[b-da0hr0vncs],
.part-card-selectable .form-control-sm[b-da0hr0vncs],
.part-card-selectable .disabled-field[b-da0hr0vncs],
.part-card-selectable input[b-da0hr0vncs],
.part-card-selectable textarea[b-da0hr0vncs],
.part-card-selectable span.form-control[b-da0hr0vncs],
.form-control[b-da0hr0vncs],
.form-control-sm[b-da0hr0vncs],
.disabled-field[b-da0hr0vncs],
span.form-control[b-da0hr0vncs] {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    cursor: text !important;
    pointer-events: auto !important;
}

/* Ensure text cursor is shown when hovering over text content in form controls */
.form-control:hover[b-da0hr0vncs],
.form-control-sm:hover[b-da0hr0vncs],
.disabled-field:hover[b-da0hr0vncs],
span.form-control:hover[b-da0hr0vncs] {
    cursor: text !important;
}

/* Prevent text selection on labels and structural elements only */
.part-card-selectable .form-control-label[b-da0hr0vncs] {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
}

.part-card-selectable:hover[b-da0hr0vncs] {
    background-color: rgba(var(--coke-red-rgb), 0.05);
}

.part-card-selectable.selected[b-da0hr0vncs] {
    background-color: rgba(var(--coke-red-rgb), 0.1);
    border-left-color: var(--coke-red-color) !important;
}

.part-checkbox-container[b-da0hr0vncs] {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.part-checkbox[b-da0hr0vncs] {
    width: 16px;
    height: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    position: absolute;
    z-index: -1;
}

/* Show checkbox on hover */
.part-card-selectable:hover .part-checkbox[b-da0hr0vncs] {
    opacity: 1;
    visibility: visible;
}

/* Show checkbox when checked */
.part-checkbox:checked[b-da0hr0vncs] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Visual selection indicator - completely hidden by default */
.part-checkbox-container[b-da0hr0vncs]::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--cool-grey-200);
    border-radius: 3px;
    background: var(--white-color);
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

/* Show visual indicator on hover */
.part-card-selectable:hover .part-checkbox-container[b-da0hr0vncs]::before {
    opacity: 1;
    visibility: visible;
}

/* Show visual indicator when selected */
.part-card-selectable.selected .part-checkbox-container[b-da0hr0vncs]::before {
    opacity: 1;
    visibility: visible;
    border-color: var(--coke-red-color);
    background-color: var(--coke-red-color);
}

/* Checkmark - hidden by default */
.part-checkbox-container[b-da0hr0vncs]::after {
    content: '✓';
    position: absolute;
    color: var(--white-color);
    font-size: 10px;
    font-weight: bold;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

/* Show checkmark when selected */
.part-card-selectable.selected .part-checkbox-container[b-da0hr0vncs]::after {
    opacity: 1;
    visibility: visible;
}


/* /Pages/PartsRequests/PartsRequestEditView.razor.rz.scp.css */
/* /Pages/PartsRequests/PartsRequests.razor.rz.scp.css */
.scrollable-grid[b-xww72xm1cp] {
    transition: height 0.3s ease, margin 0.3s ease;
    overflow-y: scroll;
}

[b-xww72xm1cp] .btn-create {
    background: var(--coke-red-color);
    color: var(--white-color);
}

    [b-xww72xm1cp] .btn-create:hover,
    [b-xww72xm1cp] .btn-create:active {
        background: var(--dark-coke-red-color);
        border-color: var(--dark-coke-red-color);
        color: var(--white-color);
    }

/* Parts request card: matches the ticket card's lighter grey surface,
   but without the colored left strip. */
[b-xww72xm1cp] .pr-card {
    background-color: var(--light-grey-color);
    overflow: hidden;
}

/* Request number rendered as a bold red clickable link, matching the
   ticket-number-link styling on the Tickets page. */
.pr-number-link[b-xww72xm1cp] {
    border: 0;
    background: transparent;
    padding: 0;
    font-weight: 700;
    color: var(--coke-red-color);
    cursor: pointer;
    text-align: left;
}

    .pr-number-link:hover[b-xww72xm1cp] {
        text-decoration: underline;
        color: var(--dark-coke-red-color);
    }
/* /Pages/Tickets/Tickets.razor.rz.scp.css */

[b-74q1wq9n9d] .btn-create {
    display: inline-flex;
    align-items: center;
    background: var(--coke-red-color);
    color: var(--white-color);
}

    [b-74q1wq9n9d] .btn-create:hover,
    [b-74q1wq9n9d] .btn-create:active {
        background: var(--dark-coke-red-color);
        border-color: var(--dark-coke-red-color);
        color: var(--white-color);
    }

[b-74q1wq9n9d] .btn-create-plus {
    font-size: 1.25rem;
    line-height: 1;
}

.scrollable-grid[b-74q1wq9n9d] {
    transition: height 0.3s ease, margin 0.3s ease;
    overflow-y: scroll;
}

.ticket-number-link[b-74q1wq9n9d] {
    border: 0;
    background: transparent;
    padding: 0;
    font-weight: 700;
    color: var(--coke-red-color);
    cursor: pointer;
    text-align: left;
}

    .ticket-number-link:hover[b-74q1wq9n9d] {
        text-decoration: underline;
        color: var(--dark-coke-red-color);
    }

/* Full Subject/Description shown in the detail modal: preserve author line breaks
   and wrap long unbroken strings so nothing overflows the dialog. */
[b-74q1wq9n9d] .ticket-text-detail {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: .875rem;
    line-height: 1.5rem;
}

/* Ticket card: lighter grey surface with a colored left strip.
   Grey for open tickets; closed tickets use their closed-reason color; red for unread. */
[b-74q1wq9n9d] .ticket-card {
    background-color: var(--light-grey-color);
    border-left: 4.5px solid var(--darker-silver-grey-color);
    overflow: hidden;
}

[b-74q1wq9n9d] .ticket-card--open {
    border-left-color: var(--darker-silver-grey-color);
}

[b-74q1wq9n9d] .ticket-card--unread {
    border-left-color: var(--coke-red-color);
}

[b-74q1wq9n9d] .ticket-card--resolved {
    border-left-color: var(--dark-green-color);
}

[b-74q1wq9n9d] .ticket-card--opened-in-error {
    border-left-color: var(--orange-color);
}

[b-74q1wq9n9d] .ticket-card--no-longer-needed {
    border-left-color: var(--slate-color);
}

/* Compact linked-record styling, adapted from the Create Ticket form's
   TicketLinkedRecordSummary but scaled down to fit a list row. */
.ticket-linked-record[b-74q1wq9n9d] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.linked-record-chip[b-74q1wq9n9d] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.55rem;
    margin: 0;
    background: var(--grey-100);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.8rem;
    line-height: 1;
    color: var(--light-black-color);
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

    .linked-record-chip i[b-74q1wq9n9d] {
        font-size: 0.72rem;
        color: var(--text-subtle);
    }

.linked-record-chip-value[b-74q1wq9n9d] {
    font-weight: 700;
    color: var(--text-body);
}

.linked-record-chip--primary[b-74q1wq9n9d] {
    background: var(--coke-red-tint-color);
    border-color: var(--coke-red-tint-border-color);
}

    .linked-record-chip--primary i[b-74q1wq9n9d],
    .linked-record-chip--primary .linked-record-chip-value[b-74q1wq9n9d] {
        color: var(--coke-red-color);
    }

.linked-record-chip--clickable[b-74q1wq9n9d] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

    .linked-record-chip--clickable:hover[b-74q1wq9n9d] {
        background: var(--coke-red-tint-hover-color);
        border-color: var(--coke-red-tint-border-hover-color);
        box-shadow: 0 4px 10px rgba(var(--coke-red-rgb), 0.15);
        transform: translateY(-1px);
    }

    .linked-record-chip--clickable:focus-visible[b-74q1wq9n9d] {
        outline: 2px solid var(--coke-red-color);
        outline-offset: 2px;
    }

.linked-record-meta[b-74q1wq9n9d] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.linked-record-pill[b-74q1wq9n9d] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.12rem 0.5rem 0.12rem 0.15rem;
    background: var(--white-color);
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    color: var(--grey-850);
    white-space: nowrap;
}

    .linked-record-pill i[b-74q1wq9n9d] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.1rem;
        height: 1.1rem;
        border-radius: 50%;
        font-size: 0.6rem;
        color: var(--white-color);
        background: var(--slate-light-color);
        flex-shrink: 0;
    }

.linked-record-pill--plant i[b-74q1wq9n9d] {
    background: linear-gradient(135deg, var(--cyan-gradient-start-color), var(--cyan-gradient-end-color));
}

.linked-record-pill--sloc i[b-74q1wq9n9d] {
    background: linear-gradient(135deg, var(--violet-gradient-start-color), var(--violet-gradient-end-color));
}

/* Unread activities count badge - matches Activity toggle button style */
.unread-count-badge[b-74q1wq9n9d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white-color);
    background: rgba(var(--coke-red-rgb, 207, 50, 36), 0.9);
    border-radius: 999px;
    animation: unread-count-pulse-b-74q1wq9n9d 1.8s ease-out infinite;
}

@keyframes unread-count-pulse-b-74q1wq9n9d {
    0% {
        box-shadow: 0 0 0 0 rgba(207, 50, 36, 0.7);
    }
    70% {
        box-shadow: 0 0 0 0.35rem rgba(207, 50, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(207, 50, 36, 0);
    }
}

