/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-tt0jjmfds2] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-tt0jjmfds2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main > article[b-tt0jjmfds2] {
    flex: 1;
}

.sidebar[b-tt0jjmfds2] {
    background: linear-gradient(180deg, #152C4A 0%, #1E3A5F 100%);
    display: flex;
    flex-direction: column;
}

.top-row[b-tt0jjmfds2] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-tt0jjmfds2]  a, .top-row[b-tt0jjmfds2]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-tt0jjmfds2]  a:hover, .top-row[b-tt0jjmfds2]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-tt0jjmfds2]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-tt0jjmfds2] {
        justify-content: space-between;
    }

    .top-row[b-tt0jjmfds2]  a, .top-row[b-tt0jjmfds2]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-tt0jjmfds2] {
        flex-direction: row;
    }

    .sidebar[b-tt0jjmfds2] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-tt0jjmfds2] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-tt0jjmfds2]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-tt0jjmfds2], article[b-tt0jjmfds2] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* === Logo area === */
.sidebar-logo-area[b-yb4kbh7st0] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.logo-link[b-yb4kbh7st0] {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img[b-yb4kbh7st0] {
    height: 40px;
    max-width: 180px;
    object-fit: contain;
}

.navbar-toggler[b-yb4kbh7st0] {
    background-color: rgba(255,255,255,0.1);
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
}

.navbar-toggler-icon[b-yb4kbh7st0] {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    vertical-align: middle;
}

/* === Nav items === */
.nav-item[b-yb4kbh7st0] {
    margin: 2px 8px;
}

.nav-item[b-yb4kbh7st0]  a {
    color: rgba(255,255,255,0.65);
    border-radius: 10px;
    height: 2.75rem;
    display: flex;
    align-items: center;
    line-height: 2.75rem;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0 0.85rem;
}

.nav-item[b-yb4kbh7st0]  a.active {
    background: linear-gradient(135deg, #00B4A6, #009E92);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,180,166,0.35);
    font-weight: 600;
}

.nav-item[b-yb4kbh7st0]  a:hover:not(.active) {
    background-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
}

.nav-icon[b-yb4kbh7st0] {
    display: inline-block;
    width: 1.5rem;
    text-align: center;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.nav-divider[b-yb4kbh7st0] {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 0.5rem 1rem;
}

/* === Sidebar footer — user chip === */
.sidebar-footer[b-yb4kbh7st0] {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: auto;
}

.user-chip[b-yb4kbh7st0] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px 10px;
}

.user-avatar[b-yb4kbh7st0] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00B4A6, #FF6B35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.user-email[b-yb4kbh7st0] {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.btn-logout[b-yb4kbh7st0] {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-logout:hover[b-yb4kbh7st0] {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* === Responsive === */
@media (min-width: 641px) {
    .navbar-toggler[b-yb4kbh7st0] {
        display: none;
    }

    .collapse[b-yb4kbh7st0] {
        display: flex;
        flex-direction: column;
    }

    .nav-scrollable[b-yb4kbh7st0] {
        flex: 1;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 640.98px) {
    .sidebar-logo-area[b-yb4kbh7st0] {
        padding: 10px 12px;
    }
}
/* /Pages/Feedback.razor.rz.scp.css */
.feedback-page[b-0wi4stbf8n] {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-page-title[b-0wi4stbf8n] {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
}

/* === Feedback esistente === */
.existing-feedback-card[b-0wi4stbf8n] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.existing-fb-header[b-0wi4stbf8n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.existing-fb-stars[b-0wi4stbf8n] {
    display: flex;
    gap: 4px;
}

.star-filled[b-0wi4stbf8n] {
    color: #f5a623;
    font-size: 1.3rem;
}

.star-empty[b-0wi4stbf8n] {
    color: #dce3ed;
    font-size: 1.3rem;
}

.existing-fb-message[b-0wi4stbf8n] {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.existing-fb-meta[b-0wi4stbf8n] {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.existing-fb-actions[b-0wi4stbf8n] {
    display: flex;
    gap: 8px;
}

/* === Form === */
.feedback-form-card[b-0wi4stbf8n] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.star-rating-input[b-0wi4stbf8n] {
    display: flex;
    gap: 6px;
}

.star-btn[b-0wi4stbf8n] {
    font-size: 2rem;
    color: #dce3ed;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
}

.star-btn:hover[b-0wi4stbf8n] {
    transform: scale(1.15);
}

.star-active[b-0wi4stbf8n] {
    color: #f5a623;
}
/* /Pages/Home.razor.rz.scp.css */
/* === Hero Banner === */
.home-hero[b-lx44qwpjrg] {
    background: linear-gradient(135deg, #1E3A5F, #2A4E7F);
    border-radius: 16px;
    padding: 32px 36px;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-greeting[b-lx44qwpjrg] {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 4px;
    font-weight: 400;
}

.hero-title[b-lx44qwpjrg] {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.hero-subtitle[b-lx44qwpjrg] {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 0;
    color: #fff;
}

.hero-stats[b-lx44qwpjrg] {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.stat-card[b-lx44qwpjrg] {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 20px;
    flex: 1;
    text-align: center;
    backdrop-filter: blur(4px);
}

.stat-value[b-lx44qwpjrg] {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-value small[b-lx44qwpjrg] {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.7;
}

.stat-label[b-lx44qwpjrg] {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    margin-top: 2px;
    font-weight: 500;
}

/* === Alert sessione in sospeso === */
.resume-alert[b-lx44qwpjrg] {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid #FF6B35;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.resume-info[b-lx44qwpjrg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.resume-info strong[b-lx44qwpjrg] {
    font-size: 0.8rem;
    color: #FF6B35;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.resume-info span[b-lx44qwpjrg] {
    font-weight: 600;
    color: var(--text);
}

.resume-info small[b-lx44qwpjrg] {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.btn-resume[b-lx44qwpjrg] {
    background: linear-gradient(135deg, #FF6B35, #ff8a5c);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-resume:hover[b-lx44qwpjrg] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.35);
    color: #fff;
}

/* === Griglia materie === */
.section-heading[b-lx44qwpjrg] {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.subjects-grid[b-lx44qwpjrg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 1.5rem;
}

.subject-home-card[b-lx44qwpjrg] {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    display: block;
}

.subject-home-card:hover[b-lx44qwpjrg] {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30,58,95,0.12);
    border-color: var(--teal);
    border-top-color: var(--teal);
    color: inherit;
}

.subject-home-icon[b-lx44qwpjrg] {
    width: 44px;
    height: 44px;
    background: rgba(0,180,166,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.subject-home-header[b-lx44qwpjrg] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.subject-home-header h6[b-lx44qwpjrg] {
    font-weight: 600;
    color: var(--navy-dark);
    margin: 0;
    font-size: 0.95rem;
}

.subject-home-badge[b-lx44qwpjrg] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--teal);
    background: var(--teal-dim);
    padding: 3px 8px;
    border-radius: 99px;
    white-space: nowrap;
}

.subject-home-progress[b-lx44qwpjrg] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar-bg[b-lx44qwpjrg] {
    flex: 1;
    height: 6px;
    background: #eef2f7;
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar-fill[b-lx44qwpjrg] {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 99px;
    transition: width 0.6s ease;
}

.progress-label[b-lx44qwpjrg] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    min-width: 32px;
    text-align: right;
}

.subject-home-avg[b-lx44qwpjrg] {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 6px;
    display: block;
}

/* === Stato vuoto === */
.empty-state[b-lx44qwpjrg] {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state p[b-lx44qwpjrg] {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
    .home-hero[b-lx44qwpjrg] {
        padding: 24px 20px;
    }

    .hero-title[b-lx44qwpjrg] {
        font-size: 1.4rem;
    }

    .hero-stats[b-lx44qwpjrg] {
        flex-wrap: wrap;
    }

    .stat-card[b-lx44qwpjrg] {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }

    .resume-alert[b-lx44qwpjrg] {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .btn-resume[b-lx44qwpjrg] {
        width: 100%;
        text-align: center;
    }

    .subjects-grid[b-lx44qwpjrg] {
        grid-template-columns: 1fr;
    }

    .landing-stats[b-lx44qwpjrg] {
        flex-direction: column;
        gap: 12px;
    }
}

/* === Landing stats (non autenticati) === */
.landing-stats[b-lx44qwpjrg] {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 2.5rem;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.landing-stat[b-lx44qwpjrg] {
    text-align: center;
    min-width: 100px;
}

.landing-stat-value[b-lx44qwpjrg] {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.2;
}

.landing-stat-label[b-lx44qwpjrg] {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}
/* /Pages/Login.razor.rz.scp.css */
.login-stats-bar[b-xqygqdei3j] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 1.5rem;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.login-stat-item[b-xqygqdei3j] {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.login-stat-item strong[b-xqygqdei3j] {
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 1.05rem;
}

.login-stat-divider[b-xqygqdei3j] {
    width: 1px;
    height: 24px;
    background: var(--border);
}

@media (max-width: 576px) {
    .login-stats-bar[b-xqygqdei3j] {
        flex-wrap: wrap;
        gap: 8px;
    }

    .login-stat-divider[b-xqygqdei3j] {
        display: none;
    }

    .login-stat-item[b-xqygqdei3j] {
        flex: 1 1 40%;
    }
}
/* /Pages/Statistiche.razor.rz.scp.css */
/* === Hero === */
.stats-hero[b-qt32s1e8mw] {
    background: linear-gradient(135deg, #1E3A5F, #2A4E7F);
    border-radius: 16px;
    padding: 40px 36px;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.stats-hero-title[b-qt32s1e8mw] {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 8px;
}

.stats-hero-subtitle[b-qt32s1e8mw] {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* === Stat grid === */
.stats-grid[b-qt32s1e8mw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 2.5rem;
}

.pub-stat-card[b-qt32s1e8mw] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.pub-stat-card:hover[b-qt32s1e8mw] {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30,58,95,0.1);
}

.pub-stat-icon[b-qt32s1e8mw] {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.pub-stat-value[b-qt32s1e8mw] {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.2;
}

.pub-stat-label[b-qt32s1e8mw] {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* === Feedback section === */
.feedback-section[b-qt32s1e8mw] {
    margin-top: 1rem;
}

.feedback-section-title[b-qt32s1e8mw] {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 1.2rem;
    text-align: center;
}

.feedback-grid[b-qt32s1e8mw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.feedback-card[b-qt32s1e8mw] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.feedback-header[b-qt32s1e8mw] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feedback-avatar[b-qt32s1e8mw] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.feedback-name[b-qt32s1e8mw] {
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 0.9rem;
}

.feedback-date[b-qt32s1e8mw] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feedback-stars[b-qt32s1e8mw] {
    margin-left: auto;
    display: flex;
    gap: 2px;
}

.star-filled[b-qt32s1e8mw] {
    color: #f5a623;
    font-size: 1.1rem;
}

.star-empty[b-qt32s1e8mw] {
    color: #dce3ed;
    font-size: 1.1rem;
}

.feedback-message[b-qt32s1e8mw] {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

/* === Responsive === */
@media (max-width: 768px) {
    .stats-hero[b-qt32s1e8mw] {
        padding: 28px 20px;
    }

    .stats-hero-title[b-qt32s1e8mw] {
        font-size: 1.5rem;
    }

    .stats-grid[b-qt32s1e8mw] {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-grid[b-qt32s1e8mw] {
        grid-template-columns: 1fr;
    }
}
