/*
 * Egelund PTT - Kanalregister
 * Modul-specifikke styles only.
 *
 * Global admin-shell, navigation, forms, modaler, footer og responsive
 * regler kommer fra /styles.css.
 */

.channel-list {
    display: grid;
    gap: 12px;
}

.channel-row {
    display: grid;
    grid-template-columns:
        minmax(240px, 1.5fr)
        minmax(130px, .55fr)
        minmax(110px, .45fr)
        auto;

    gap: 16px;
    align-items: center;

    padding: 18px;

    border: 1px solid var(--line);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(15,29,49,.88),
            rgba(8,17,29,.9)
        );
}

.channel-row.inactive {
    opacity: .62;
}

.channel-primary strong,
.channel-primary span,
.channel-meta strong,
.channel-meta span {
    display: block;
}

.channel-primary strong {
    font-size: 17px;
}

.channel-primary span,
.channel-meta span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.channel-meta strong {
    font-size: 13px;
    font-weight: 650;
}

.channel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

#channelForm .toggle-row {
    min-height: 48px;
    align-self: end;
    margin-bottom: 1px;
}

@media (max-width: 1000px) {

    .channel-row {
        grid-template-columns: 1fr 1fr;
    }

    .channel-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 570px) {

    .channel-row {
        grid-template-columns: 1fr;
    }

    .channel-actions {
        grid-column: auto;
    }
}