/*
 * Copyright (c) Evan Webb, Australia - WebbMTS Modular Tech Systems.
 * Proprietary software. Unauthorized distribution, tampering, reverse engineering, or unlicensed use is prohibited.
 * Use is subject to WebbMTS commercial license and EULA terms.
 */

.module-checkbox-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    max-height: 240px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #34495e;
    border-radius: 8px;
    padding: 10px;
}

.module-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bdc3c7;
    font-size: 12px;
}

#devices-table-body tr {
    cursor: pointer;
}

.devices-inline-feedback {
    margin: 8px 0 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.devices-inline-feedback.is-success {
    background: rgba(46, 204, 113, 0.16);
    border: 1px solid rgba(46, 204, 113, 0.55);
    color: #9ef0c0;
}

.devices-inline-feedback.is-error {
    background: rgba(231, 76, 60, 0.14);
    border: 1px solid rgba(231, 76, 60, 0.55);
    color: #ffc3bc;
}

.device-action-result-success {
    color: #9ef0c0;
    font-size: 15px;
    font-weight: 700;
}

.device-action-result-error {
    color: #ffc3bc;
    font-size: 15px;
    font-weight: 700;
}

.devices-jobs-priority-block {
    border-left: 4px solid #e74c3c;
    background: rgba(231, 76, 60, 0.08);
    border-radius: 8px;
    padding: 10px 12px;
}

.devices-jobs-priority-block h4 {
    margin: 0 0 8px 0;
    color: #e74c3c;
}

.devices-job-priority-row td {
    color: #ffd5d0;
    font-weight: 700;
}

#device-warranty-template-body,
#device-warranty-log-body {
    height: auto !important;
    min-height: 360px;
}

.devices-detail-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 260px;
    gap: 16px;
    align-items: start;
}

.devices-detail-image-wrap {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #34495e;
    border-radius: 10px;
    padding: 10px;
}

.devices-detail-image-wrap img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    border-radius: 8px;
    background: #111b25;
}

@media (max-width: 980px) {
    .devices-detail-layout {
        grid-template-columns: 1fr;
    }
}
