/*
 * Noesia Smart Waiter - qr-setup 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;
}

@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));
    }
}

.noesia-swa-qr-deploy-card {
    background: linear-gradient(180deg, #fffdfd 0%, #fff8fb 100%);
}

.noesia-swa-qr-deploy-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.noesia-swa-qr-deploy-item {
    padding: 16px;
    border: 1px solid var(--noesia-swa-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.noesia-swa-qr-deploy-step {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fdf2f8;
    color: #9d174d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.noesia-swa-qr-deploy-title {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.noesia-swa-qr-shortcode-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.noesia-swa-qr-shortcode {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    background: transparent;
}

.noesia-swa-qr-copy-btn {
    white-space: nowrap;
}

.noesia-swa-qr-copy-btn.is-copied {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

@media (max-width: 640px) {
    .noesia-swa-qr-shortcode-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
