/* _content/OmniAstrologyUniverse/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-3yy7dnp4qo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-3yy7dnp4qo] {
    flex: 1;
}

.sidebar[b-3yy7dnp4qo] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-3yy7dnp4qo] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-3yy7dnp4qo]  a, .top-row[b-3yy7dnp4qo]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-3yy7dnp4qo]  a:hover, .top-row[b-3yy7dnp4qo]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-3yy7dnp4qo]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-3yy7dnp4qo] {
        justify-content: space-between;
    }

    .top-row[b-3yy7dnp4qo]  a, .top-row[b-3yy7dnp4qo]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-3yy7dnp4qo] {
        flex-direction: row;
    }

    .sidebar[b-3yy7dnp4qo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3yy7dnp4qo] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-3yy7dnp4qo]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-3yy7dnp4qo], article[b-3yy7dnp4qo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-3yy7dnp4qo] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-3yy7dnp4qo] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/OmniAstrologyUniverse/Components/Layout/NavMenu.razor.rz.scp.css */
/* 側邊欄主體背景 */
.navbar-dark[b-j46efqop6y] {
    background: linear-gradient(180deg, #1A202C 0%, #2D3748 100%);
    border-bottom: 1px solid #4A5568;
}

.navbar-brand[b-j46efqop6y] {
    font-size: 1.2rem;
    font-weight: bold;
    color: #E2E8F0 !important;
    letter-spacing: 2px;
}

/* 導覽列容器 */
.custom-nav[b-j46efqop6y] {
    padding-top: 15px;
}

.nav-item[b-j46efqop6y] {
    margin-bottom: 8px;
}

/* 按鈕預設樣式 (已加入 !important 強制覆蓋預設深色) */
.nav-link[b-j46efqop6y] {
    color: #E2E8F0 !important;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
}

/* Icon 大小調整 */
.nav-icon[b-j46efqop6y] {
    font-size: 18px;
    margin-right: 12px;
}

/* 滑鼠移上去的發光效果 */
.nav-link:hover[b-j46efqop6y] {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    transform: translateX(5px); /* 輕微往右推的動態感 */
}

/* 當前所在頁面的樣式 (Active) */
.nav-link.active[b-j46efqop6y] {
    background-color: #3182CE !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(49, 130, 206, 0.3);
}

/* 分隔線 */
.nav-divider[b-j46efqop6y] {
    height: 1px;
    background-color: #4A5568;
    margin: 15px 20px;
}

/* VIP 專屬按鈕的特殊視覺 */
.vip-link[b-j46efqop6y] {
    color: #F6E05E !important;
    border: 1px dashed #D69E2E;
}

    .vip-link:hover[b-j46efqop6y] {
        background-color: rgba(214, 158, 46, 0.15) !important;
        color: #FAF089 !important;
        border: 1px solid #F6E05E;
    }

/* 以下保留 Blazor 預設的 RWD 漢堡選單邏輯，不用修改 */
.navbar-toggler[b-j46efqop6y] {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 641px) {
    .navbar-toggler[b-j46efqop6y] {
        display: none;
    }

    .collapse[b-j46efqop6y] {
        display: block;
    }
}
/* _content/OmniAstrologyUniverse/Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-9b3u82tyxq],
.components-reconnect-repeated-attempt-visible[b-9b3u82tyxq],
.components-reconnect-failed-visible[b-9b3u82tyxq],
.components-pause-visible[b-9b3u82tyxq],
.components-resume-failed-visible[b-9b3u82tyxq],
.components-rejoining-animation[b-9b3u82tyxq] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-9b3u82tyxq],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-9b3u82tyxq],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-9b3u82tyxq],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-9b3u82tyxq],
#components-reconnect-modal.components-reconnect-retrying[b-9b3u82tyxq],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-9b3u82tyxq],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-9b3u82tyxq],
#components-reconnect-modal.components-reconnect-failed[b-9b3u82tyxq],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-9b3u82tyxq] {
    display: block;
}


#components-reconnect-modal[b-9b3u82tyxq] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-9b3u82tyxq 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-9b3u82tyxq 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-9b3u82tyxq 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-9b3u82tyxq]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-9b3u82tyxq 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-9b3u82tyxq {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-9b3u82tyxq {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-9b3u82tyxq {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-9b3u82tyxq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-9b3u82tyxq] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-9b3u82tyxq] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-9b3u82tyxq] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-9b3u82tyxq] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-9b3u82tyxq] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-9b3u82tyxq] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-9b3u82tyxq 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-9b3u82tyxq] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-9b3u82tyxq {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
