/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-mp2k7dtsm5] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    /* Không cho toàn page scroll ngang */
    overflow-x: hidden;
}

/* =========================
   MAIN
========================= */

main[b-mp2k7dtsm5] {
    flex: 1;
    /* RẤT QUAN TRỌNG khi main nằm trong flex */
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================
   SIDEBAR
========================= */

.sidebar[b-mp2k7dtsm5] {
    background-image: linear-gradient( 180deg, rgb(5, 39, 103) 0%, #3a0647 70% );
}


/* =========================
   TOP BAR
========================= */

.top-row[b-mp2k7dtsm5] {
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    box-sizing: border-box;
}

    .top-row[b-mp2k7dtsm5]  a,
    .top-row[b-mp2k7dtsm5]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-mp2k7dtsm5]  a:hover,
        .top-row[b-mp2k7dtsm5]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-mp2k7dtsm5]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }


/* =========================
   CONTENT
========================= */

article.content[b-mp2k7dtsm5] {
    width: 100%;
    max-width: 100%;
    /*
       Quan trọng để table rộng không kéo main
       và sidebar ra khỏi viewport
    */
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 640.98px) {

    .top-row[b-mp2k7dtsm5] {
        justify-content: space-between;
    }

        .top-row[b-mp2k7dtsm5]  a,
        .top-row[b-mp2k7dtsm5]  .btn-link {
            margin-left: 0;
        }
}


/* =========================
   DESKTOP
========================= */

@media (min-width: 641px) {

    .page[b-mp2k7dtsm5] {
        flex-direction: row;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .sidebar[b-mp2k7dtsm5] {
        width: 250px;
        min-width: 250px;
        /*
           Sidebar tuyệt đối không được co
           hoặc bị table kéo theo
        */
        flex: 0 0 250px;
        position: sticky;
        top: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    main[b-mp2k7dtsm5] {
        /*
           Phần còn lại sau sidebar
        */
        flex: 1 1 auto;
        min-width: 0;
        width: calc(100% - 250px);
        max-width: calc(100vw - 250px);
        overflow-x: hidden;
    }

    .top-row[b-mp2k7dtsm5] {
        position: sticky;
        top: 0;
        z-index: 10;
        width: 100%;
    }

        .top-row.auth[b-mp2k7dtsm5]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-mp2k7dtsm5],
    article[b-mp2k7dtsm5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
        /*
           Padding không được cộng thêm vào width
        */
        box-sizing: border-box;
    }
}


/* =========================
   BLAZOR ERROR
========================= */

#blazor-error-ui[b-mp2k7dtsm5] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

    #blazor-error-ui .dismiss[b-mp2k7dtsm5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/*thông báo ở góc*/
.notification-popup[b-mp2k7dtsm5] {
    position: absolute;
    top: calc(100% + 10px);
    /* căn giữa popup theo chuông */
/*    left: 50%;*/
    transform: translateX(-50%);
    width: 380px;
    background: white !important;
    color: #fff;
    border: 1px solid #272D37;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    overflow: hidden;
}

.notification-header[b-mp2k7dtsm5] {
    height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #272D37;
    border-bottom: 1px solid #343B46;
}

.notification-header-title[b-mp2k7dtsm5] {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.notification-count[b-mp2k7dtsm5] {
    font-size: 12px;
    color: #1999FF;
}

.notification-list[b-mp2k7dtsm5] {
    max-height: 360px;
    overflow-y: auto;
    background: #171D25;
}

.notification-item[b-mp2k7dtsm5] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #171D25;
    border-bottom: 1px solid #272D37;
    cursor: pointer;
}

    .notification-item:hover[b-mp2k7dtsm5] {
        background: #272D37;
    }

.notification-icon[b-mp2k7dtsm5] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #272D37;
    color: #1999FF;
}

.notification-content[b-mp2k7dtsm5] {
    min-width: 0;
    flex: 1;
}

.notification-text[b-mp2k7dtsm5] {
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.notification-time[b-mp2k7dtsm5] {
    margin-top: 5px;
    font-size: 12px;
    color: #8B929A;
}

.notification-footer[b-mp2k7dtsm5] {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #272D37;
    border-top: 1px solid #343B46;
    color: #1999FF;
    font-size: 13px;
    cursor: pointer;
}

    .notification-footer:hover[b-mp2k7dtsm5] {
        background: #343B46;
    }

.notification-button[b-mp2k7dtsm5] {
    width: 38px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: #272D37;
    color: #8B929A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

    .notification-button:hover[b-mp2k7dtsm5] {
        background: #343B46;
        color: #fff;
    }

.ant-badge-count[b-mp2k7dtsm5] {
    background: #ff4d4f;
    box-shadow: 0 0 0 2px #171D25;
}

.notification-wrapper[b-mp2k7dtsm5] {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6f40gz0tgw] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: 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.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-6f40gz0tgw] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-6f40gz0tgw] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-6f40gz0tgw] {
    font-size: 1.1rem;
}

.bi[b-6f40gz0tgw] {
    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-6f40gz0tgw] {
    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-6f40gz0tgw] {
    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-6f40gz0tgw] {
    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-6f40gz0tgw] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-6f40gz0tgw] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-6f40gz0tgw] {
        padding-bottom: 1rem;
    }

    .nav-item[b-6f40gz0tgw]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-6f40gz0tgw]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-6f40gz0tgw]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-6f40gz0tgw] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-6f40gz0tgw] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6f40gz0tgw] {
        display: none;
    }

    .nav-scrollable[b-6f40gz0tgw] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* CSS for Home component */
/* =========================
   PAGE
========================= */

.steam-home[b-9dex3z7ruf] {
    min-height: 100vh;
    padding: 24px 36px 60px;
    background: linear-gradient( 180deg, #2a3f55 0%, #24384b 45%, #1d2d3d 100% );
    color: #fff;
}


/* =========================
   PAGE HEADER
========================= */

.site-page-header[b-9dex3z7ruf] {
    background: #171a21;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

    .site-page-header .ant-page-header-heading-title[b-9dex3z7ruf] {
        color: #ffffff;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 0.3px;
    }


/* =========================
   HERO
========================= */
.steam-hero[b-9dex3z7ruf] {
    position: relative;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    background: linear-gradient( 90deg, rgba(10, 18, 27, 0.96) 0%, rgba(10, 18, 27, 0.8) 45%, rgba(10, 18, 27, 0.2) 100% ), url('/images/home-background.jpg') center/cover no-repeat;
    box-shadow: 0 18px 45px rgba(0,0,0,.35);
}

/* Overlay để chữ nổi hơn */
.steam-hero-overlay[b-9dex3z7ruf] {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(8, 15, 22, 0.95) 0%, rgba(8, 15, 22, 0.78) 38%, rgba(8, 15, 22, 0.18) 75%, rgba(8, 15, 22, 0.05) 100% );
}


/* Hero content */
.steam-hero-content[b-9dex3z7ruf] {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 85px 60px;
}


.steam-label[b-9dex3z7ruf] {
    display: inline-block;
    margin-bottom: 12px;
    color: #66c0f4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
}


.steam-hero-content h1[b-9dex3z7ruf] {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
}


.steam-hero-content p[b-9dex3z7ruf] {
    max-width: 520px;
    margin-bottom: 26px;
    color: #c7d5e0;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================
   BUTTON
========================= */

.steam-actions[b-9dex3z7ruf] {
    display: flex;
    gap: 12px;
}


    .steam-actions .ant-btn-primary[b-9dex3z7ruf] {
        height: 44px;
        padding: 0 22px;
        border: none;
        background: linear-gradient( 90deg, #47bfff, #1a9fff );
        border-radius: 4px;
        font-weight: 600;
    }


        .steam-actions .ant-btn-primary:hover[b-9dex3z7ruf] {
            background: linear-gradient( 90deg, #67cfff, #2aafff );
        }


.steam-secondary-btn[b-9dex3z7ruf] {
    height: 44px;
    padding: 0 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
}


    .steam-secondary-btn:hover[b-9dex3z7ruf] {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }


/* =========================
   SECTION
========================= */

.steam-section[b-9dex3z7ruf] {
    max-width: 1400px;
    margin: 0 auto 38px;
}


.section-header[b-9dex3z7ruf] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}


    .section-header h2[b-9dex3z7ruf] {
        margin: 2px 0 0;
        color: #ffffff;
        font-size: 21px;
        font-weight: 600;
    }


.section-subtitle[b-9dex3z7ruf] {
    color: #66c0f4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


.section-header a[b-9dex3z7ruf] {
    color: #8facc0;
    font-size: 13px;
    transition: 0.2s;
}


    .section-header a:hover[b-9dex3z7ruf] {
        color: #ffffff;
    }


/* =========================
   GAME GRID
========================= */

.game-grid[b-9dex3z7ruf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


/* =========================
   GAME CARD
========================= */

.steam-game-card[b-9dex3z7ruf] {
    overflow: hidden;
    border-radius: 8px;
    background: #223447;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    transition: .2s ease;
}

    .steam-game-card:hover[b-9dex3z7ruf] {
        transform: translateY(-5px);
        background: #2a4158;
        box-shadow: 0 18px 36px rgba(0,0,0,.25);
    }


/* Game image */
.game-image[b-9dex3z7ruf] {
    position: relative;
    height: 180px;
    background-position: center;
    background-size: cover;
}


.game-image-one[b-9dex3z7ruf] {
    background-image: url('/images/game1.jpg');
}


.game-image-two[b-9dex3z7ruf] {
    background-image: url('/images/game2.jpg');
}


.game-image-three[b-9dex3z7ruf] {
    background-image: url('/images/game3.jpg');
}


.game-status[b-9dex3z7ruf] {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    color: #ffffff;
    background: rgba(26, 159, 255, 0.88);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
}


/* Game info */
.game-info[b-9dex3z7ruf] {
    padding: 14px 16px 16px;
}


    .game-info h3[b-9dex3z7ruf] {
        margin: 0 0 5px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
    }


    .game-info p[b-9dex3z7ruf] {
        margin: 0;
        color: #8f98a0;
        font-size: 13px;
    }


.game-footer[b-9dex3z7ruf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}


.game-company[b-9dex3z7ruf] {
    color: #c7d5e0;
    font-size: 12px;
}


.game-active[b-9dex3z7ruf] {
    color: #a4d007;
    font-size: 12px;
    font-weight: 600;
}


/* =========================
   QUICK ACCESS
========================= */

.quick-grid[b-9dex3z7ruf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


.quick-card[b-9dex3z7ruf] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 18px;
    background: linear-gradient( 135deg, #162433, #1b3142 );
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}


    .quick-card:hover[b-9dex3z7ruf] {
        transform: translateY(-3px);
        background: linear-gradient( 135deg, #1d3447, #244c65 );
        border-color: rgba(102, 192, 244, 0.3);
    }


.quick-icon[b-9dex3z7ruf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: #66c0f4;
    background: rgba(102, 192, 244, 0.1);
    border-radius: 6px;
    font-size: 19px;
}


.quick-card h3[b-9dex3z7ruf] {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}


.quick-card p[b-9dex3z7ruf] {
    margin: 0;
    color: #8f98a0;
    font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .game-grid[b-9dex3z7ruf],
    .quick-grid[b-9dex3z7ruf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 700px) {

    .steam-home[b-9dex3z7ruf] {
        padding: 0 14px 30px;
    }

    .steam-hero[b-9dex3z7ruf] {
        min-height: 360px;
    }

    .steam-hero-content[b-9dex3z7ruf] {
        padding: 65px 30px;
    }

        .steam-hero-content h1[b-9dex3z7ruf] {
            font-size: 30px;
        }

    .game-grid[b-9dex3z7ruf],
    .quick-grid[b-9dex3z7ruf] {
        grid-template-columns: 1fr;
    }
}
