﻿/* ================================================
   Tandem Sites — Viewer
   app/styles/default.app-viewer-no-toolbox.css
   — Страница загрузки no-toolbox-viewer, экран ошибки
   ================================================ */

/* ─── no-toolbox-viewer — Loader page ───────────────── */

#project-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    position: fixed;
    inset: 0;
}

#error-screen {
    display: none;
    position: fixed;
    inset: 0;
    background-color: #08080f;
    background-image: radial-gradient(ellipse 55% 50% at 15% 60%, rgba(100, 60, 255, 0.18) 0%, transparent 70%), radial-gradient(ellipse 45% 40% at 85% 30%, rgba(40, 80, 200, 0.16) 0%, transparent 65%), radial-gradient(ellipse 60% 60% at 50% 50%, rgba(60, 40, 120, 0.14) 0%, transparent 70%), repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, 0.018) 39px, rgba(255, 255, 255, 0.018) 40px), repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 255, 255, 0.018) 39px, rgba(255, 255, 255, 0.018) 40px);
    color: #e8e8f0;
    font-family: "Inter", system-ui, sans-serif;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
    padding: 2rem;
}

#error-screen.visible {
    display: flex;
}

.err-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.55;
    margin-bottom: 0.25rem;
}

#error-screen h1 {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e8e8f0;
}

#error-screen p {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: #6b6b85;
    line-height: 1.6;
    max-width: 380px;
}

.err-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    color: #6b6b85;
}

.err-badge code {
    font-family: "Inter", monospace;
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.78rem;
}

.err-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.err-footer {
    font-size: 0.72rem;
    color: #3d3d52;
    margin-top: 0.25rem;
}
