/* /Layout/MainLayout.razor.rz.scp.css */
article[b-qij23b86of]{
    height:100%;
}
main[b-qij23b86of] {
    flex: 1;
    height: 100%;
}

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

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

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

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

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

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

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

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

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

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

    .top-row[b-qij23b86of], article[b-qij23b86of] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */

.theme-toggle[b-48us5ij6bc] {
    position: relative;
    width: 60px;
    height: 30px;
    background: #ddd;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 5px;
    user-select: none;
}

    .theme-toggle .icons[b-48us5ij6bc] {
        display: flex;
        justify-content: space-between;
        width: 100%;
        color: #666;
        font-size: 1.2rem;
        pointer-events: none; /* icons don't catch clicks */
    }

    .theme-toggle .slider[b-48us5ij6bc] {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 24px;
        height: 24px;
        background: white;
        border-radius: 50%;
        transition: left 0.3s ease;
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
    }

    .theme-toggle.dark .slider[b-48us5ij6bc] {
        left: 33px;
    }

    .theme-toggle.dark[b-48us5ij6bc] {
        background: #333;
        color: #f9d71c; /* yellow-ish */
    }

.navbar-nav > .nav-item[b-48us5ij6bc] {
    display: block; /* Change from flex to block */
    margin-left: 0;

}

@media (min-width: 768px) {
    .navbar-nav > .nav-item[b-48us5ij6bc] {
        margin-left: 1rem;
        align-content:center;
    }

    .navbar-nav > .nav-item:first-child[b-48us5ij6bc] {
        margin-left: 0;
    }
}

/*--------------for Side Social Media Logos ---------------------*/
.dark-theme[b-48us5ij6bc] {
    --icon-color: #ddd;
}

.light-theme[b-48us5ij6bc] {
    --icon-color: #333;
}

.social-icons-vertical[b-48us5ij6bc] {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    z-index: 1050;
}

    .social-icons-vertical a[b-48us5ij6bc] {
        font-size: 1.5rem;
        padding: 0.5rem 0.5rem;
        text-align: center;
        transition: color 0.3s;
        color: var(--icon-color);
    }

        .social-icons-vertical a:hover[b-48us5ij6bc] {
            color: #ffc107;
            cursor: pointer;
        }

@media (max-width: 767.98px) {
    .social-icons-vertical[b-48us5ij6bc] {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .navbar-nav[b-48us5ij6bc] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

        .navbar-nav > .nav-item[b-48us5ij6bc] {
            margin: 0.5rem 0;
            width: 100%;
        }

            .navbar-nav > .nav-item .nav-link[b-48us5ij6bc] {
                width: 100%;
                display: block;
            }
}

@media (max-width: 767.98px) {
    .theme-toggle[b-48us5ij6bc] {
        margin: 0.5rem auto;
    }
}
