/* Admin Firmware */

.afw-upload-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.afw-file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.afw-choose-file {
    display: inline-block;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}

.afw-choose-file--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.afw-file-name {
    flex: 1 1 160px;
    min-width: 0;
    max-width: 420px;
    font-size: 12px;
    font-family: monospace;
    color: #9a9a9a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.afw-filter-input {
    width: 100%;
    max-width: 360px;
    margin-top: 8px;
}

.afw-col-date {
    width: 200px;
    font-variant-numeric: tabular-nums;
}

.afw-col-actions {
    width: 96px;
    text-align: right;
}

.atp-btn-danger {
    color: #ffb4b8;
    border-color: rgba(255, 100, 110, 0.45);
}

.atp-btn-danger:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.afw-queue-stack {
    margin: 20px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.afw-queue-block {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.afw-queue-block:last-child {
    border-bottom: none;
}

.afw-queue-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.afw-section-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    color: #c8c8c8;
}

.afw-section-sub {
    font-size: 12px;
    color: #8a8a8a;
    margin: 0 0 10px;
    line-height: 1.45;
}

.afw-path-highlight {
    font-family: monospace;
    color: #b0d4ff;
}

.afw-queue-empty {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

.afw-queue-table-wrap {
    margin-top: 4px;
}

.afw-refresh-btn {
    flex-shrink: 0;
}

.afw-col-device {
    width: 108px;
    font-variant-numeric: tabular-nums;
}

.afw-col-fwname {
    min-width: 140px;
    font-family: monospace;
    font-size: 12px;
}

.afw-cancel-btn {
    padding: 4px 10px;
    font-size: 12px;
}
