/* _content/Y2School/Pages/Index.razor.rz.scp.css */
.page-container[b-w6v4481ng6] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.home-container[b-w6v4481ng6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    flex: 1;
    justify-content: flex-start;
}

.logo-container[b-w6v4481ng6] {
    margin-bottom: 30px;
    text-align: center;
}

.logo-image[b-w6v4481ng6] {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}


.search-container[b-w6v4481ng6] {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
}

.search-results[b-w6v4481ng6] {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.home-search[b-w6v4481ng6] {
    margin-top: 20px;
}

input[b-w6v4481ng6] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 16px;
    min-width: 0;
}

button[b-w6v4481ng6] {
    padding: 12px 24px;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    min-width: 80px;
    flex-shrink: 0;
}

    button:hover[b-w6v4481ng6] {
        background-color: #0056b3;
    }

.search-message[b-w6v4481ng6] {
    margin-top: 20px;
    padding: 10px;
    color: #ff0000;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.simple-images-section[b-w6v4481ng6] {
    margin: 40px auto;
    padding: 0 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.images-grid[b-w6v4481ng6] {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.image-box[b-w6v4481ng6] {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0; /* 关键：防止压缩 */
}


/* 响应式尺寸 - 使用固定尺寸避免模糊 */
.image-box[b-w6v4481ng6] {
    width: 180px;
    height: 180px;
}

@media (max-width: 390px) {
    .image-box[b-w6v4481ng6] {
        width: 160px;
        height: 160px;
    }
}

@media (min-width: 430px) {
    .image-box[b-w6v4481ng6] {
        width: 180px;
        height: 180px;
    }
}

@media (min-width: 560px) {
    .image-box[b-w6v4481ng6] {
        width: 220px;
        height: 220px;
    }
}

@media (min-width: 768px) {
    .image-box[b-w6v4481ng6] {
        width: 280px;
        height: 280px;
    }
}

@media (min-width: 1024px) {
    .image-box[b-w6v4481ng6] {
        width: 300px;
        height: 300px;
    }
}

.image-box img[b-w6v4481ng6] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* _content/Y2School/Pages/MainPage.razor.rz.scp.css */
*[b-s9mm4chct2] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html[b-s9mm4chct2], body[b-s9mm4chct2] {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

#blazor-root[b-s9mm4chct2] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body[b-s9mm4chct2] {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.home-container[b-s9mm4chct2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 20px;
    margin-top: -25px;
}

.logo-container[b-s9mm4chct2] {
    margin-bottom: 30px;
    text-align: center;
}

.logo-image[b-s9mm4chct2] {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

.logo-small[b-s9mm4chct2] {
    width: 64px;
    height: 64px;
    cursor: pointer;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo[b-s9mm4chct2] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-container[b-s9mm4chct2] {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.header-search-container[b-s9mm4chct2] {
    max-width: none;
    flex: 1;
    min-width: 0;
}

.home-search[b-s9mm4chct2] {
    margin-top: 20px;
}

input[b-s9mm4chct2] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 16px;
    min-width: 0;
}

button[b-s9mm4chct2] {
    padding: 12px 24px;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    min-width: 80px;
    flex-shrink: 0;
}

    button:hover[b-s9mm4chct2] {
        background-color: #0056b3;
    }

.search-message[b-s9mm4chct2] {
    margin-top: 20px;
    padding: 10px;
    color: #ff0000;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.search-page-container[b-s9mm4chct2] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.search-header[b-s9mm4chct2] {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.search-results[b-s9mm4chct2] {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.results-wrapper[b-s9mm4chct2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.result-block[b-s9mm4chct2] {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    background-color: #fff;
    width: 100%;
    max-width: 780px;
    min-width: 580px;
}

    .result-block.highlight[b-s9mm4chct2] {
        background-color: #f0f8ff;
        border-left: 4px solid #007BFF;
    }

.result-image[b-s9mm4chct2] {
    width: 150px;
    height: 150px;
    margin-right: 20px;
    flex-shrink: 0;
}

    .result-image img[b-s9mm4chct2] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

.result-info[b-s9mm4chct2] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-name[b-s9mm4chct2] {
    font-size: 16px;
    margin-bottom: 10px;
}

.result-buttons[b-s9mm4chct2] {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.styled-button[b-s9mm4chct2] {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .styled-button:hover[b-s9mm4chct2] {
        background-color: #0056b3;
    }

.footer[b-s9mm4chct2] {
    background: #333333;
    padding: 15px 0;
    width: 100%;
    margin-top: auto;
}

.footer-content[b-s9mm4chct2] {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo[b-s9mm4chct2] {
    width: 64px;
    height: 64px;
    margin-right: 20px;
    object-fit: contain;
}

.footer-text[b-s9mm4chct2] {
    text-align: center;
    color: #999999;
}

    .footer-text p[b-s9mm4chct2] {
        margin: 5px 0;
        font-size: 14px;
    }

    .footer-text a[b-s9mm4chct2] {
        color: #999999;
        text-decoration: none;
    }

        .footer-text a:hover[b-s9mm4chct2] {
            text-decoration: underline;
        }

@media (max-width: 780px) {
    .result-block[b-s9mm4chct2] {
        max-width: 95%;
        min-width: unset;
        width: 95%;
    }
}

@media (max-width: 560px) {
    .home-container[b-s9mm4chct2] {
        margin-top: 0;
        padding: 10px;
    }

    .search-header[b-s9mm4chct2] {
        flex-wrap: nowrap;
        padding: 10px;
    }

    .logo-small[b-s9mm4chct2] {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
    }

    .search-container[b-s9mm4chct2] {
        width: 100%;
    }

    .header-search-container[b-s9mm4chct2] {
        margin-left: 10px;
    }

    input[b-s9mm4chct2] {
        padding: 10px;
        font-size: 14px;
    }

    button[b-s9mm4chct2] {
        padding: 10px 15px;
        min-width: 70px;
    }

    .result-block[b-s9mm4chct2] {
        flex-direction: column;
        align-items: center;
        max-width: 95%;
        min-width: unset;
        width: 95%;
    }

    .result-image[b-s9mm4chct2] {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .result-buttons[b-s9mm4chct2] {
        flex-direction: column;
        width: 100%;
    }

    .styled-button[b-s9mm4chct2] {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .footer-content[b-s9mm4chct2] {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo[b-s9mm4chct2] {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .search-header[b-s9mm4chct2] {
        padding: 8px;
    }

    .logo-small[b-s9mm4chct2] {
        width: 40px;
        height: 40px;
    }

    input[b-s9mm4chct2], button[b-s9mm4chct2] {
        padding: 8px;
    }

    button[b-s9mm4chct2] {
        min-width: 60px;
        font-size: 14px;
    }
}
/* _content/Y2School/Pages/Search.razor.rz.scp.css */
.page-container[b-bbczdm9tcl] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo-small[b-bbczdm9tcl] {
    width: 64px;
    height: 64px;
    cursor: pointer;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo[b-bbczdm9tcl] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-container[b-bbczdm9tcl] {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
}

.header-search-container[b-bbczdm9tcl] {
    max-width: none;
    flex: 1;
    min-width: 0;
}

input[b-bbczdm9tcl] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 16px;
    min-width: 0;
}

button[b-bbczdm9tcl] {
    padding: 12px 24px;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    min-width: 80px;
    flex-shrink: 0;
}

    button:hover[b-bbczdm9tcl] {
        background-color: #0056b3;
    }

.search-message[b-bbczdm9tcl] {
    margin-top: 20px;
    padding: 10px;
    color: #ff0000;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.search-page-container[b-bbczdm9tcl] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.search-header[b-bbczdm9tcl] {
    display: flex;
    align-items: center;
    padding: 0px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.search-results[b-bbczdm9tcl] {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 60vh;
}

.results-wrapper[b-bbczdm9tcl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.result-block[b-bbczdm9tcl] {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 15px 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    background-color: #fff;
    width: 100%;
    max-width: 999px;
    min-width: 330px;
}

    .result-block.highlight[b-bbczdm9tcl] {
        background-color: #f0f8ff;
        border-left: 4px solid #007BFF;
    }

.result-image[b-bbczdm9tcl] {
    width: 126px;
    height: 126px;
    margin-right: 15px;
    flex-shrink: 0;
}

    .result-image img[b-bbczdm9tcl] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

.result-info[b-bbczdm9tcl] {
    flex: 1;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
}

.result-name[b-bbczdm9tcl] {
    font-size: 14px;
    margin-top: 5px;
}

.result-buttons[b-bbczdm9tcl] {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}


.styled-button[b-bbczdm9tcl] {
    display: inline-block;
    padding: 5px 16px;
    font-size: 14px;
    color: #fff;
    width:138px;
    background-color: #007bff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .styled-button:hover[b-bbczdm9tcl] {
        background-color: #0056b3;
    }
/* _content/Y2School/Shared/MainLayout.razor.rz.scp.css */
.page[b-o2ehhrnn7m] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-o2ehhrnn7m] {
    flex: 1;
}

.sidebar[b-o2ehhrnn7m] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-o2ehhrnn7m] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-o2ehhrnn7m]  a, .top-row .btn-link[b-o2ehhrnn7m] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-o2ehhrnn7m] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-o2ehhrnn7m] {
        display: none;
    }

    .top-row.auth[b-o2ehhrnn7m] {
        justify-content: space-between;
    }

    .top-row a[b-o2ehhrnn7m], .top-row .btn-link[b-o2ehhrnn7m] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-o2ehhrnn7m] {
        flex-direction: row;
    }

    .sidebar[b-o2ehhrnn7m] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-o2ehhrnn7m] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-o2ehhrnn7m], article[b-o2ehhrnn7m] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/Y2School/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-upyt8efydd] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-upyt8efydd] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-upyt8efydd] {
    font-size: 1.1rem;
}

.oi[b-upyt8efydd] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-upyt8efydd] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-upyt8efydd] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-upyt8efydd] {
        padding-bottom: 1rem;
    }

    .nav-item[b-upyt8efydd]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-upyt8efydd]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-upyt8efydd]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-upyt8efydd] {
        display: none;
    }

    .collapse[b-upyt8efydd] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
