/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-0325rl4ic4] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-0325rl4ic4] {
    flex: 1;
}

.sidebar[b-0325rl4ic4] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-0325rl4ic4] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-0325rl4ic4]  a, .top-row[b-0325rl4ic4]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-0325rl4ic4]  a:hover, .top-row[b-0325rl4ic4]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-0325rl4ic4]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-0325rl4ic4] {
        display: none;
    }

    .top-row.auth[b-0325rl4ic4] {
        justify-content: space-between;
    }

    .top-row[b-0325rl4ic4]  a, .top-row[b-0325rl4ic4]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-0325rl4ic4] {
        flex-direction: row;
    }

    .sidebar[b-0325rl4ic4] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-0325rl4ic4] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-0325rl4ic4]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-0325rl4ic4], article[b-0325rl4ic4] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-rt198kuk1a] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-rt198kuk1a] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-rt198kuk1a] {
    font-size: 1.1rem;
}

.oi[b-rt198kuk1a] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-rt198kuk1a] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-rt198kuk1a] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-rt198kuk1a] {
        padding-bottom: 1rem;
    }

    .nav-item[b-rt198kuk1a]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-rt198kuk1a]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-rt198kuk1a]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-rt198kuk1a] {
        display: none;
    }

    .collapse[b-rt198kuk1a] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
/* /Views/DisplayModal/ImageViewer.razor.rz.scp.css */
.photo-viewer-backdrop[b-o3jf7927pv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.photo-viewer-content[b-o3jf7927pv] {
    /*position: relative;*/
    width: 90vw; /* 容器寬度佔螢幕 90% */
    height: 90vh; /* 容器高度為螢幕的 90% */
    overflow: auto; /* 允許滾動條顯示 */
    display: flex;
    flex-direction: column; /* 控制內部子元素的排列 */
    justify-content: center; /* 垂直居中圖片 */
    align-items: center; /* 水平居中圖片 */
}

.photo-viewer-controls[b-o3jf7927pv] {
    position: absolute;
    bottom: 20px; /* 固定在容器底部 */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%);
    z-index: 10; /* 確保按鈕在最上層 */
    display: flex;
    gap: 10px;
}

button[b-o3jf7927pv] {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    button:disabled[b-o3jf7927pv] {
        background-color: #aaa;
        cursor: not-allowed;
    }

.photo-viewer-content img[b-o3jf7927pv] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.2s ease;
}

.photo-viewer-controls button[b-o3jf7927pv] {
    cursor: pointer;
}
/* /Views/FunctionModal/UploadPhotosModal3.razor.rz.scp.css */
.photos-grid[b-dlamsu43jq] {
    padding: 2em;
    display: grid;
    grid-template-columns: repeat(5, 220px); /* 每行 5 列，每列寬 300px */
    gap: 10px; /* 圖片之間的間距 */
    justify-content: center; /* 將整個網格居中對齊 */
    max-width: 80vw;
}

.photo-que img[b-dlamsu43jq] {
    width: 220px;
    height: 220px;
    object-fit: cover; /* 讓圖片按照 cover 填充 */
    border-radius: 5px; /* 如果需要邊角圓滑，可以調整 */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* 添加陰影效果，可選 */
}

.uploadphoto-footer[b-dlamsu43jq] {
}
/* /Views/FunctionModal/UploadPhotosModal4.razor.rz.scp.css */
.photos-grid[b-shraxd6dd0] {
    padding: 2em;
    display: grid;
    grid-template-columns: repeat(5, 220px); /* 每行 5 列，每列寬 300px */
    gap: 10px; /* 圖片之間的間距 */
    justify-content: center; /* 將整個網格居中對齊 */
    max-width: 80vw;
}

.photo-que img[b-shraxd6dd0] {
    width: 220px;
    height: 220px;
    object-fit: cover; /* 讓圖片按照 cover 填充 */
    border-radius: 5px; /* 如果需要邊角圓滑，可以調整 */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* 添加陰影效果，可選 */
}

.uploadphoto-footer[b-shraxd6dd0] {
    min-width: 400px;
    margin-top: 2em;
}
/* /WebPage/ClassGalleryPage.razor.rz.scp.css */
/* 整體頁面容器 */
.page-container[b-h1ful693lh] {
    display: flex;
    flex-direction: row; /* 水平排列左邊和右邊 */
    font-family: Arial, sans-serif;
    padding: 20px;
    box-sizing: border-box;
}

/* 左側相簿區域 */
.albums-section[b-h1ful693lh] {
    width: 300px; /* 設置固定寬度 */
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.4);
    margin-right: 20px; /* 右側區域和左側區域之間有空間 */
    /*height: calc(100vh - 40px);*/ /* 使區域填充整個頁面高度 */
    overflow-y: auto; /* 支援垂直滾動 */
}

    /* 相簿區域標題與新增按鈕 */
    .albums-section .d-flex[b-h1ful693lh] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .albums-section h4[b-h1ful693lh] {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
    }

    .albums-section a[b-h1ful693lh] {
        color: #007bff;
        text-decoration: none;
        font-size: 14px;
    }

        .albums-section a:hover[b-h1ful693lh] {
            text-decoration: underline;
        }

/* 相簿列表容器 */
.albums-list[b-h1ful693lh] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 單個相簿卡片 */
.album-card[b-h1ful693lh] {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .album-card:hover[b-h1ful693lh] {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

.album-name[b-h1ful693lh] {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.album-info[b-h1ful693lh] {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

/* 照片區域容器 */
.photos-section[b-h1ful693lh] {
    flex: 1; /* 剩餘空間給照片區域 */
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.4);
    overflow-y: auto; /* 支援滾動 */
}

/* 網格設置，每行6張照片 */
.photo-grid[b-h1ful693lh] {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 每行顯示6張照片 */
    gap: 10px; /* 設置照片之間的間距 */
    margin-top: 0px;
    padding-top: 20px;
}

/* 照片容器 */
.photo-container[b-h1ful693lh] {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 保持正方形 */
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 平滑過渡效果 */
    animation: fadeIn-b-h1ful693lh 0.5s ease-out; /* 初始載入時的動畫 */
}

/* 動畫效果：淡入 */
@keyframes fadeIn-b-h1ful693lh {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 照片容器hover效果 */
.photo-container:hover[b-h1ful693lh] {
    transform: scale(1.05); /* 縮放效果 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 增強陰影 */
}

/* 照片樣式 */
.photo-container .photo[b-h1ful693lh] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 確保圖片會填滿容器 */
}

/* 照片區域標題與功能 */
.photos-header[b-h1ful693lh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}


.header-albumname[b-h1ful693lh] {
    font-size: 1.5em;
    font-weight:bold;
}

.header-function[b-h1ful693lh] {
    display: flex;
    gap: 12px;
}

.header-function-btn[b-h1ful693lh] {
    color: #007bff;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

    .header-function-btn:hover[b-h1ful693lh] {
        text-decoration: underline;
    }

.photos-header label[b-h1ful693lh] {
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
}


/* 照片樣式 */
.photo-container .photo[b-h1ful693lh] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 刪除按鈕 */
.delete-button[b-h1ful693lh] {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(255, 0, 0, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .delete-button:hover[b-h1ful693lh] {
        background-color: rgba(255, 0, 0, 1);
    }

/* 封面標記 */
.cover-mark[b-h1ful693lh] {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
}


/* 照片區域底部功能 */
.photos-footer[b-h1ful693lh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 1em;
    border-top: 1px solid silver;
}

.footer-btn[b-h1ful693lh] {
    color: #dc3545;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

    .footer-btn:hover[b-h1ful693lh] {
        text-decoration: underline;
    }

/* Checkbox 樣式 */
.form-check[b-h1ful693lh] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-check-input[b-h1ful693lh] {
    cursor: pointer;
}

.form-check-label[b-h1ful693lh] {
    font-size: 14px;
    color: #333;
}

.desc-area[b-h1ful693lh] {
    padding: 1em;
    border-radius: 8px;
}
/* /WebPage/SchoolGalleryPage.razor.rz.scp.css */
/* 整體頁面容器 */
.page-container[b-2e4dn40xbc] {
    display: flex;
    flex-direction: row; /* 水平排列左邊和右邊 */
    font-family: Arial, sans-serif;
    padding: 20px;
    box-sizing: border-box;
}

/* 左側相簿區域 */
.albums-section[b-2e4dn40xbc] {
    width: 300px; /* 設置固定寬度 */
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.4);
    margin-right: 20px; /* 右側區域和左側區域之間有空間 */
    /*height: calc(100vh - 40px);*/ /* 使區域填充整個頁面高度 */
    overflow-y: auto; /* 支援垂直滾動 */
}

    /* 相簿區域標題與新增按鈕 */
    .albums-section .d-flex[b-2e4dn40xbc] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .albums-section h4[b-2e4dn40xbc] {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
    }

    .albums-section a[b-2e4dn40xbc] {
        color: #007bff;
        text-decoration: none;
        font-size: 14px;
    }

        .albums-section a:hover[b-2e4dn40xbc] {
            text-decoration: underline;
        }

/* 相簿列表容器 */
.albums-list[b-2e4dn40xbc] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 單個相簿卡片 */
.album-card[b-2e4dn40xbc] {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .album-card:hover[b-2e4dn40xbc] {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

.album-name[b-2e4dn40xbc] {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.album-info[b-2e4dn40xbc] {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

/* 照片區域容器 */
.photos-section[b-2e4dn40xbc] {
    flex: 1; /* 剩餘空間給照片區域 */
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.4);
    overflow-y: auto; /* 支援滾動 */
}

/* 網格設置，每行6張照片 */
.photo-grid[b-2e4dn40xbc] {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 每行顯示6張照片 */
    gap: 10px; /* 設置照片之間的間距 */
    margin-top: 0px;
    padding-top: 20px;
}

/* 照片容器 */
.photo-container[b-2e4dn40xbc] {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 保持正方形 */
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 平滑過渡效果 */
    animation: fadeIn-b-2e4dn40xbc 0.5s ease-out; /* 初始載入時的動畫 */
}

/* 動畫效果：淡入 */
@keyframes fadeIn-b-2e4dn40xbc {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 照片容器hover效果 */
.photo-container:hover[b-2e4dn40xbc] {
    transform: scale(1.05); /* 縮放效果 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 增強陰影 */
}

/* 照片樣式 */
.photo-container .photo[b-2e4dn40xbc] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 確保圖片會填滿容器 */
}

/* 照片區域標題與功能 */
.photos-header[b-2e4dn40xbc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}


.header-albumname[b-2e4dn40xbc] {
    font-size: 1.5em;
    font-weight: bold;
}

.header-function[b-2e4dn40xbc] {
    display: flex;
    gap: 12px;
}

.header-function-btn[b-2e4dn40xbc] {
    color: #007bff;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

    .header-function-btn:hover[b-2e4dn40xbc] {
        text-decoration: underline;
    }

.photos-header label[b-2e4dn40xbc] {
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
}


/* 照片樣式 */
.photo-container .photo[b-2e4dn40xbc] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 刪除按鈕 */
.delete-button[b-2e4dn40xbc] {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(255, 0, 0, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .delete-button:hover[b-2e4dn40xbc] {
        background-color: rgba(255, 0, 0, 1);
    }

/* 封面標記 */
.cover-mark[b-2e4dn40xbc] {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: rgba(0, 0, 255, 0.8);
    color: #fff;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 4px;
}


/* 照片區域底部功能 */
.photos-footer[b-2e4dn40xbc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 1em;
    border-top: 1px solid silver;
}

.footer-btn[b-2e4dn40xbc] {
    color: #dc3545;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

    .footer-btn:hover[b-2e4dn40xbc] {
        text-decoration: underline;
    }

/* Checkbox 樣式 */
.form-check[b-2e4dn40xbc] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-check-input[b-2e4dn40xbc] {
    cursor: pointer;
}

.form-check-label[b-2e4dn40xbc] {
    font-size: 14px;
    color: #333;
}

.desc-area[b-2e4dn40xbc] {
    padding:1em;
    border-radius:8px;
}
