/* Custom Scrollbar in stile industriale */
::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: #E8DCC4; border-left: 2px solid #2F1E19; }
::-webkit-scrollbar-thumb { background: #88B595; border-radius: 4px; border: 3px solid #E8DCC4; }
::-webkit-scrollbar-thumb:hover { background: #FCD859; }

/* Evidenziatore del testo */
::selection { background-color: #88B595; color: #2F1E19; }

/* Sfondo a Griglia Stile Blueprint/Ingegnere */
.bg-engineering-grid {
    background-size: 30px 30px;
    background-image: 
        linear-gradient(to right, rgba(136, 181, 149, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(136, 181, 149, 0.2) 1px, transparent 1px);
}

/* Stile per gli involucri (Casings) e i rivetti metallici */
.casing { position: relative; }

.rivet {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #2F1E19; /* Bordo scuro come l'ombra del logo */
    border-radius: 50%;
    /* Effetto 3D del bullone */
    box-shadow: inset -2px -2px 0 rgba(0,0,0,0.2), 1px 1px 0 rgba(255,255,255,0.4);
}

/* Colori dei rivetti */
.rivet-brass { background-color: #FCD859; }
.rivet-andesite { background-color: #9AA0A3; }

/* Posizionamento degli angoli */
.rivet-tl { top: 10px; left: 10px; }
.rivet-tr { top: 10px; right: 10px; }
.rivet-bl { bottom: 10px; left: 10px; }
.rivet-br { bottom: 10px; right: 10px; }