/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-94oa6nsyqr] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-94oa6nsyqr] {
    flex: 1;
}

.sidebar[b-94oa6nsyqr] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-94oa6nsyqr] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-94oa6nsyqr]  a, .top-row[b-94oa6nsyqr]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-94oa6nsyqr]  a:hover, .top-row[b-94oa6nsyqr]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-94oa6nsyqr]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-94oa6nsyqr] {
        justify-content: space-between;
    }

    .top-row[b-94oa6nsyqr]  a, .top-row[b-94oa6nsyqr]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-94oa6nsyqr] {
        flex-direction: row;
    }

    .sidebar[b-94oa6nsyqr] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-94oa6nsyqr] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-94oa6nsyqr]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-94oa6nsyqr], article[b-94oa6nsyqr] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-t5btfhek3v] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-t5btfhek3v] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-t5btfhek3v] {
    font-size: 1.1rem;
}

.bi[b-t5btfhek3v] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-t5btfhek3v] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-t5btfhek3v] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-t5btfhek3v] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-t5btfhek3v] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-t5btfhek3v] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-t5btfhek3v] {
        padding-bottom: 1rem;
    }

    .nav-item[b-t5btfhek3v]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-t5btfhek3v]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-t5btfhek3v]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-t5btfhek3v] {
        display: none;
    }

    .collapse[b-t5btfhek3v] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-t5btfhek3v] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/home.razor.rz.scp.css */
/* =========================================
   1. STILE BASE & VIBE "HACKING"
   ========================================= */

.cyber-container[b-vo2vgtnznr] {
    /* NOTTE: Nero profondo tech */
    --bg-color: #050505;
    --bg-overlay: radial-gradient(circle at 50% 50%, #111 0%, #000 90%);
    --text-main: #eeeeee;
    --text-sec: #aaaaaa;
    /* ACCENTO UNICO: ORO ELETTRICO */
    --accent-color: #ffcc00;
    --glass: rgba(10, 10, 10, 0.96);
    --grid-opacity: 0.15; /* Griglia visibile */
    /* Pianeti */
    --planet-bg: #ffcc00;
    --planet-text: #000;
    --planet-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
    --panel-bg: #0a0a0a;
    --border-color: #333;
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    background-image: var(--bg-overlay);
    /* FONT HACKER PER DEFAULT NELLA STRUTTURA */
    font-family: 'Courier New', monospace;
    color: var(--text-main);
    overflow: hidden;
    display: flex;
    transition: background 0.5s ease;
}

    /* GIORNO: Tech Lab pulito */
    .cyber-container.light-mode[b-vo2vgtnznr] {
        --bg-color: #f4f4f4;
        --bg-overlay: radial-gradient(circle at 50% 50%, #fff 0%, #e0e0e0 80%);
        --text-main: #111;
        --text-sec: #444;
        --accent-color: #d4af37; /* Oro scuro su bianco */

        --glass: rgba(255, 255, 255, 0.98);
        --grid-opacity: 0.08;
        --planet-bg: #d4af37;
        --planet-text: #fff;
        --planet-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
        --panel-bg: #fff;
        --border-color: #ccc;
    }

.grid-overlay[b-vo2vgtnznr] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,204,0,var(--grid-opacity)) 1px, transparent 1px), linear-gradient(90deg, rgba(255,204,0,var(--grid-opacity)) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

/* EFFETTO SCANLINES (Righe monitor) */
.scanlines[b-vo2vgtnznr] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    opacity: 0.6;
}

/* =========================================
   2. HEADER & MENU (STILE TERMINALE)
   ========================================= */

.header-top[b-vo2vgtnznr] {
    position: absolute;
    top: 40px;
    left: 50px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.logo-text[b-vo2vgtnznr] {
    font-family: 'Segoe UI', sans-serif; /* Logo resta pulito */
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-main);
    line-height: 1;
    text-transform: uppercase;
}

.highlight[b-vo2vgtnznr] {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255,204,0,0.3);
}

.sub-text[b-vo2vgtnznr] {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--accent-color);
    letter-spacing: 4px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.action-buttons[b-vo2vgtnznr] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* BOTTONI "HACKER" MA SENZA BORDO BIANCO */
.menu-btn[b-vo2vgtnznr] {
    background: rgba(0,0,0,0.3);
    border: 2px solid transparent; /* BORDO TRASPARENTE FIX */
    color: var(--accent-color);
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    transition: all 0.2s ease;
}

    .menu-btn:hover[b-vo2vgtnznr] {
        background: var(--accent-color);
        color: #000;
        box-shadow: 0 0 15px var(--accent-color);
        text-shadow: none;
        border-color: var(--accent-color); /* Appare solo in hover */
    }

.theme-switch[b-vo2vgtnznr] {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.theme-btn[b-vo2vgtnznr] {
    background: transparent;
    border: 1px solid transparent; /* BORDO TRASPARENTE FIX */
    color: var(--text-sec);
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    transition: 0.3s;
}

    .theme-btn.active[b-vo2vgtnznr] {
        background: var(--text-main);
        color: var(--bg-color);
        border-color: var(--text-main);
    }

/* =========================================
   3. PANNELLI LATERALI (MIX HACKER/PRO)
   ========================================= */

.side-panel[b-vo2vgtnznr] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    max-width: 600px;
    background: var(--panel-bg);
    border-left: 2px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    z-index: 200;
    box-shadow: -10px 0 80px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 0;
}

.panel-open[b-vo2vgtnznr] {
    transform: translateX(0);
}

.close-btn[b-vo2vgtnznr] {
    align-self: flex-end;
    margin: 15px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-sec);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 5px 10px;
    transition: 0.2s;
}

    .close-btn:hover[b-vo2vgtnznr] {
        color: var(--accent-color);
    }

.panel-title[b-vo2vgtnznr] {
    padding: 0 40px 20px 40px;
    font-family: 'Courier New', monospace; /* Titolo terminale */
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    margin: 0;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.panel-content[b-vo2vgtnznr] {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    color: var(--text-main);
}

/* BLOCCHI DI TESTO - LEGGIBILITÀ MASSIMA */
.info-block[b-vo2vgtnznr] {
    margin-bottom: 30px;
}

    .info-block h3[b-vo2vgtnznr] {
        font-family: 'Courier New', monospace; /* Titolini tech */
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--accent-color);
        margin-bottom: 8px;
        text-transform: uppercase;
        border-left: 3px solid var(--accent-color);
        padding-left: 10px;
    }

    .info-block p[b-vo2vgtnznr], .text-block p[b-vo2vgtnznr] {
        font-family: 'Segoe UI', sans-serif; /* Testo leggibile */
        font-size: 1rem;
        line-height: 1.6;
        color: var(--text-main);
        margin: 0 0 15px 0;
        text-align: justify;
    }

/* SCHEDA CONTATTI */
.contact-card[b-vo2vgtnznr] {
    background: rgba(255, 204, 0, 0.05); /* Leggero tint oro */
    padding: 25px;
    border: 1px solid var(--accent-color);
}

    .contact-card h3[b-vo2vgtnznr] {
        font-family: 'Courier New', monospace;
        color: var(--accent-color);
        margin-top: 0;
    }

.contact-item[b-vo2vgtnznr] {
    margin-top: 15px;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

    .contact-item .label[b-vo2vgtnznr] {
        color: var(--text-sec);
        margin-right: 10px;
    }

    .contact-item .value[b-vo2vgtnznr] {
        font-weight: 700;
        color: var(--text-main);
        text-decoration: none;
    }

        .contact-item .value:hover[b-vo2vgtnznr] {
            color: var(--accent-color);
            text-decoration: underline;
        }

/* =========================================
   4. SISTEMA SOLARE
   ========================================= */

.scene-3d[b-vo2vgtnznr] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    overflow: hidden;
    transition: width 0.6s ease;
}

    .scene-3d.shifted[b-vo2vgtnznr] {
        width: 55%;
    }

.system-axis[b-vo2vgtnznr] {
    position: relative;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: rotateX(40deg);
}

.core-sun[b-vo2vgtnznr] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(-40deg);
    width: 90px;
    height: 90px;
    background: #000;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 0 40px var(--accent-color);
    cursor: pointer;
}

.light-mode .core-sun[b-vo2vgtnznr] {
    background: #fff;
}

.core-inner[b-vo2vgtnznr] {
    font-family: 'Courier New', monospace;
    font-weight: 900;
    color: var(--text-main);
    font-size: 1.2rem;
}

.light-mode .core-inner[b-vo2vgtnznr] {
    color: #000;
}

.orbit-ring[b-vo2vgtnznr] {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: translateZ(0);
}

.planet-rig[b-vo2vgtnznr] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    animation: rig-spin-b-vo2vgtnznr linear infinite;
}

.planet-body[b-vo2vgtnznr] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--planet-bg);
    color: var(--planet-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--planet-shadow);
    animation: counter-spin-b-vo2vgtnznr linear infinite;
    animation-duration: inherit;
    animation-delay: inherit;
    transition: all 0.3s;
}

/* FIX ROTAZIONE AL CLICK */
.active-planet[b-vo2vgtnznr] {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 0 40px #fff !important;
    z-index: 1000;
    border: 2px solid var(--accent-color);
}

    .active-planet .node-icon[b-vo2vgtnznr] {
        transform: scale(1.4);
        transition: transform 0.3s;
    }

.node-icon[b-vo2vgtnznr] {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 900;
    pointer-events: none;
}

.footer-status[b-vo2vgtnznr] {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-sec);
    opacity: 0.8;
    text-align: right;
    max-width: 80%;
    z-index: 50;
    letter-spacing: 1px;
}

@keyframes rig-spin-b-vo2vgtnznr {
    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg);
    }
}

@keyframes counter-spin-b-vo2vgtnznr {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg) rotateX(-40deg) scale(0.6);
        z-index: 1;
    }

    25% {
        transform: translate(-50%, -50%) rotateZ(-90deg) rotateX(-40deg) scale(1.0);
        z-index: 20;
    }

    50% {
        transform: translate(-50%, -50%) rotateZ(-180deg) rotateX(-40deg) scale(1.4);
        z-index: 100;
    }

    75% {
        transform: translate(-50%, -50%) rotateZ(-270deg) rotateX(-40deg) scale(1.0);
        z-index: 20;
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(-360deg) rotateX(-40deg) scale(0.6);
        z-index: 1;
    }
}

/* =========================================
   6. VERSIONE MOBILE (RESPONSIVE)
   ========================================= */

@media (max-width: 900px) {
    /* Contenitore principale */
    .cyber-container[b-vo2vgtnznr] {
        flex-direction: column;
        overflow: hidden;
    }

    /* 1. Header compatto in alto */
    .header-top[b-vo2vgtnznr] {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        align-items: center;
        text-align: center;
        background: rgba(0,0,0,0.6);
        z-index: 300;
        backdrop-filter: blur(5px);
    }

    .logo-text[b-vo2vgtnznr] {
        font-size: 1.5rem;
    }

    .sub-text[b-vo2vgtnznr] {
        font-size: 0.6rem;
        margin-bottom: 10px;
    }

    /* Bottoni in riga orizzontale */
    .action-buttons[b-vo2vgtnznr] {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .menu-btn[b-vo2vgtnznr] {
        font-size: 0.7rem;
        padding: 8px 12px;
        border-width: 1px;
    }

    .theme-switch[b-vo2vgtnznr] {
        margin-top: 10px;
    }

    /* 2. Sistema Solare RIMPICCIOLITO */
    .scene-3d[b-vo2vgtnznr] {
        position: absolute;
        top: 50%; /* Centrato verticalmente */
        left: 0;
        width: 100%;
        height: 50vh;
        z-index: 1;
        pointer-events: none;
    }

    /* TRUCCO FONDAMENTALE: Rimpicciolisce tutto al 45% */
    .system-axis[b-vo2vgtnznr] {
        transform: rotateX(40deg) scale(0.45);
    }

    /* Riabilita il click sui pianeti */
    .planet-body[b-vo2vgtnznr] {
        pointer-events: auto;
    }

    /* Sposta il sistema in alto quando apri un pannello */
    .scene-3d.shifted[b-vo2vgtnznr] {
        top: 20%;
        opacity: 0.5; /* Lo sfuma un po' */
    }

    /* 3. Pannelli che escono DAL BASSO (Bottom Sheet) */
    .side-panel[b-vo2vgtnznr] {
        width: 100%;
        max-width: none;
        height: 70vh; /* Occupa il 70% basso dello schermo */
        top: auto;
        bottom: 0;
        right: 0;
        border-left: none;
        border-top: 4px solid var(--accent-color);
        transform: translateY(110%);
    }

    .panel-open[b-vo2vgtnznr] {
        transform: translateY(0);
    }
    /* Sale su */

    .panel-title[b-vo2vgtnznr] {
        font-size: 1.5rem;
        padding: 20px;
    }

    .panel-content[b-vo2vgtnznr] {
        padding: 20px;
        padding-bottom: 80px;
    }

    .footer-status[b-vo2vgtnznr] {
        width: 100%;
        text-align: center;
        right: 0;
        bottom: 5px;
        font-size: 0.5rem;
    }
}
