/*
 * Noesia Smart Waiter - docs module admin CSS
 * Full file restore generated from the latest snapshot
 * Compatibility-safe: extracted from the working global admin stylesheet
 */

.noesia-swa-assets-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.noesia-swa-asset-preview,
.noesia-swa-doc-image {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid var(--noesia-swa-border);
    background: #ffffff;
}

.noesia-swa-doc-image {
    max-height: 294px;
    object-fit: contain;
    margin: 0 auto;
    border:none!important;
}

.noesia-swa-doc-step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
}

.noesia-swa-doc-step-no {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--noesia-swa-accent);
    color: var(--noesia-swa-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark .noesia-swa-doc-step-no,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-doc-step-no,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-doc-step-no {
    color: #000000;
}

@media (max-width: 900px) {
    .noesia-swa-section-grid,
    .noesia-swa-dashboard-grid,
    .noesia-swa-assets-grid,
    .noesia-swa-bookmark-grid {
        grid-template-columns: 1fr;
    }

    .noesia-swa-card--span2,
    .noesia-swa-card--full {
        grid-column: span 1;
    }

    #noesia-swa-weather-forecast,
    .noesia-swa-forecast-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
