@import '_content/TabBlazor/TabBlazor.bundle.scp.css';

/* _content/TranslatorLB/Components/Account/Pages/Login.razor.rz.scp.css */
.login-wrapper[b-1y4uhc2brq] {
    position: relative;
    min-height: 100vh;
    background: #f7f8fa;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
}

.login-logo[b-1y4uhc2brq] {
    position: absolute;
    top: 32px;
    right: 48px;
    z-index: 1000;
}

.login-logo img[b-1y4uhc2brq] {
    height: 100px;
    width: auto;
}

.login-center[b-1y4uhc2brq] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card[b-1y4uhc2brq] {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    width: 350px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.login-header[b-1y4uhc2brq] {
    text-align: left;
    margin-bottom: 1.5rem;
}

.login-title[b-1y4uhc2brq] {
    margin: 0;
    font-size: 1.2rem;
    color: #222;
    font-weight: 600;
}

.form-group[b-1y4uhc2brq] {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.form-label[b-1y4uhc2brq] {
    font-weight: 500;
    color: #222;
    margin-bottom: 0.3rem;
    font-size: 0.97rem;
}

.form-control[b-1y4uhc2brq] {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    background: #f8f9fa;
    color: #222;
    transition: border 0.2s;
}

.form-control:focus[b-1y4uhc2brq] {
    border-color: #0078d4;
    outline: none;
    background: #fff;
}

.form-check[b-1y4uhc2brq] {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.form-check-input[b-1y4uhc2brq] {
    margin-right: 0.5rem;
    transform: scale(1.1);
}

.login-btn[b-1y4uhc2brq] {
    width: 100%;
    padding: 0.7rem 0;
    background: #0078d4;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s;
    margin-top: 0.5rem;
    cursor: pointer;
}

.login-btn:hover[b-1y4uhc2brq], .login-btn:focus[b-1y4uhc2brq] {
    background: #03586E;
}

.text-danger[b-1y4uhc2brq] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .login-card[b-1y4uhc2brq] {
        padding: 1.5rem;
    }
    
    .login-logo img[b-1y4uhc2brq] {
        height: 70px;
    }
}
/* _content/TranslatorLB/Components/Layout/EmptyLayout.razor.rz.scp.css */
.page-container[b-s57b9ltgkh] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

#blazor-error-ui[b-s57b9ltgkh] {
    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;
}

    #blazor-error-ui .dismiss[b-s57b9ltgkh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/TranslatorLB/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-5qs2xrnsl2] {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

main[b-5qs2xrnsl2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
}

.sidebar[b-5qs2xrnsl2] {
    width: 250px;
    height: 100vh;
    position: sticky;
    top: 0;
    flex-shrink: 0;
    overflow: hidden; /* Changed from overflow-y: auto to prevent double scrollbars */
    background: linear-gradient(135deg, #03586E 0%, #03586E 100%);
}

.content[b-5qs2xrnsl2] {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
}

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

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

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

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

@media (max-width: 640.98px) {
    .page[b-5qs2xrnsl2] {
        flex-direction: column;
    }

    .sidebar[b-5qs2xrnsl2] {
        width: 100%;
        height: auto;
    }
    
    main[b-5qs2xrnsl2] {
        height: auto;
    }

    .top-row[b-5qs2xrnsl2] {
        justify-content: space-between;
    }

    .top-row[b-5qs2xrnsl2]  a, .top-row[b-5qs2xrnsl2]  .btn-link {
        margin-left: 0;
    }
    
    .content[b-5qs2xrnsl2] {
        padding: 0.75rem;
    }
}

@media (min-width: 641px) {
    .top-row[b-5qs2xrnsl2] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-5qs2xrnsl2]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
    
    .content[b-5qs2xrnsl2] {
        padding: 1.5rem;
        max-width: 100%;
    }
}

#blazor-error-ui[b-5qs2xrnsl2] {
    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;
}

    #blazor-error-ui .dismiss[b-5qs2xrnsl2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/TranslatorLB/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-cqfi7h1t3l] {
    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-cqfi7h1t3l] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-cqfi7h1t3l] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-cqfi7h1t3l] {
    font-size: 1.1rem;
}

.bi[b-cqfi7h1t3l] {
    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-cqfi7h1t3l] {
    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-cqfi7h1t3l] {
    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-cqfi7h1t3l] {
    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");
}

.bi-lock-nav-menu[b-cqfi7h1t3l] {
    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 d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-cqfi7h1t3l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-cqfi7h1t3l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-cqfi7h1t3l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-cqfi7h1t3l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-cqfi7h1t3l] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-cqfi7h1t3l] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-cqfi7h1t3l] {
        padding-bottom: 1rem;
    }

    .nav-item[b-cqfi7h1t3l]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: 2.75rem;
        width: 100%;
    }

.nav-item[b-cqfi7h1t3l]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-cqfi7h1t3l]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-cqfi7h1t3l] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-cqfi7h1t3l] {
    display: block;
}

.nav-drawer-bg[b-cqfi7h1t3l] {
    background: linear-gradient(135deg, #03586E 0%, #03586E 100%);
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent scrolling of the background container */
}

nav[b-cqfi7h1t3l] {
    height: 100%;
    /*overflow-y: auto;*/ /* Allow scrolling inside the nav element instead */
    padding-bottom: 1rem; /* Add padding to ensure last items are fully visible */
    display: flex;
    flex-direction: column;
}

.custom-nav[b-cqfi7h1t3l] {
    color: white !important;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    margin-bottom: 4px;
    border-radius: 8px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start !important;
    text-align: left !important;
}

.custom-nav:hover[b-cqfi7h1t3l], .custom-nav.active[b-cqfi7h1t3l] {
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    color: white !important;
    text-decoration: none;
}

.nav-icon[b-cqfi7h1t3l] {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: white !important;
}

.user-section[b-cqfi7h1t3l] {
    display: flex;
    align-items: center;
    padding: 18px 18px 10px 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.user-avatar[b-cqfi7h1t3l] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.user-avatar .icon-avatar[b-cqfi7h1t3l] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info[b-cqfi7h1t3l] {
    flex-grow: 1;
    overflow: hidden;
}

.user-name[b-cqfi7h1t3l] {
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.user-email[b-cqfi7h1t3l] {
    font-size: 0.85rem;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.divider[b-cqfi7h1t3l] {
    border-color: rgba(255,255,255,0.08);
    margin: 12px 0;
    width: 100%;
}

.chevron-icon[b-cqfi7h1t3l] {
    margin-left: auto;
    flex-shrink: 0;
}

.sub-menu[b-cqfi7h1t3l] {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Logo styles */
.logo-container[b-cqfi7h1t3l] {
    margin-top: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.navbar-logo[b-cqfi7h1t3l] {
    width: 250px;
    height: 700px;
    opacity: 0.9;
}

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

    .nav-scrollable[b-cqfi7h1t3l] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

@media (max-width: 640px) {
    .custom-nav[b-cqfi7h1t3l] {
        padding: 14px;
        font-size: 1rem;
    }

    .nav-icon[b-cqfi7h1t3l] {
        margin-right: 12px;
    }
}
