/* ======================================================================
   STR-systems — Modulo BIM
   CSS dedicato
   Versione: 1.0 — 2026-06-01
   ====================================================================== */

body {
    margin: 0;
    background: #f4f4f4;
    font-family: 'Segoe UI', sans-serif;
}

/* HEADER */
header {
    background: #111;
    color: #fff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .title {
    font-size: 20px;
    font-weight: 600;
}

header .nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-size: 14px;
}

/* LAYOUT */
#container {
    display: flex;
    height: calc(100vh - 60px);
}

/* SIDEBAR */
#sidebar {
    width: 320px;
    background: #ffffff;
    border-right: 1px solid #ddd;
    padding: 20px;
    overflow-y: auto;
}

#sidebar h2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

#sidebar .section {
    margin-bottom: 25px;
}

#sidebar label {
    font-size: 14px;
    font-weight: 500;
}

#sidebar input[type="file"] {
    margin-top: 10px;
}

/* VIEWER */
#viewer {
    position: relative;
    flex: 1;
    background: #e9e9e9;
    overflow: hidden;
}

/* Canvas xeokit */
#viewer canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* FOOTER */
footer {
    background: #111;
    color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    text-align: center;
}
