/* NetworkPanel (Kofa.Client.Core/Network): the network page of the full and the Lite client. */

.np-trial {
    border-left: 4px solid var(--warning, #c47f00);
}

.np-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.np-table {
    width: 100%;
    border-collapse: collapse;
}

.np-table td,
.np-table th {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid var(--neutral-stroke-divider-rest, #e0e0e0);
    vertical-align: middle;
}

.np-table tr.np-active td {
    font-weight: 600;
}

.np-table td .hint {
    margin-left: 6px;
}

.np-actions {
    text-align: right;
    white-space: nowrap;
}

.np-signal {
    display: inline-block;
    width: 48px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-fill-rest, #0f6cbd) var(--np-signal), var(--neutral-fill-secondary-rest, #e6e6e6) var(--np-signal));
    vertical-align: middle;
}

.np-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.np-grid {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    max-width: 560px;
}

.np-select {
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid var(--neutral-stroke-rest, #c8c8c8);
    border-radius: 4px;
    background: var(--neutral-fill-input-rest, #fff);
    color: inherit;
}

.np-details summary {
    cursor: pointer;
    margin-top: 8px;
}

.np-list {
    margin: 4px 0 8px;
    padding-left: 20px;
}

.np-qr {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 8px 0;
}

.np-qr figure {
    margin: 0;
    text-align: center;
    max-width: 260px;
}

.np-qr img {
    width: 220px;
    height: 220px;
    image-rendering: pixelated;
    background: #fff;
    padding: 8px;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .np-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
