.window-container {
    display: flex;
}
.left-sidebar i {
    color: #fff;

}
.main-view-container {
    display: flex;
    flex-direction: column;
    margin-left: 23rem;
    gap: 5rem;
    margin-top: 2rem;
}
.resume-nav-back {
    margin-bottom: 20px;
    width: fit-content;
    align-items: center;
}

.resume-nav-back a {
    color: #0C2452;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.8;
    transition: 0.2s ease;
}

.nav-link-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-link-row .nav-link {
    flex: 1;
}

.submenu-toggle-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submenu-toggle-btn:hover {
    background: none;
    transform: none;
}

.submenu-caret {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.submenu-caret.rotate {
    transform: rotate(180deg);
}

.sub-nav {
    list-style: none;
    margin-top: 0.35rem;
    margin-left: 2.2rem;
    padding-left: 0.6rem;
}

.sub-nav.hidden {
    display: none;
}

.nav-sublink {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    padding: 0.4rem 0;
    color: #e9f7f6;
    font-size: 0.92rem;
}

.resume-nav-back a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ================================================================================
   LEFT SIDEBAR STYLES
=================================================================================== */

.left-sidebar {
    display: flex;
    flex-direction: column;
    background-color: #1CA7A3;
    position: fixed; 
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    width: 335px;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    gap: 2rem;
    z-index: 1000;
}
.left-sidebar::-webkit-scrollbar {
  display: none; 
}
.brand-container a {
    display: flex;
    align-items: center;
    margin: 2rem auto 1rem auto;
    gap: 1rem;
    width: fit-content;
}
.brand-container h3 {
    font-size: 24px;
    color: #fff;
}
/* .brand-container img {
    width: 50px;
} */
 .brand-container i {
    font-size: 2.5rem;
 }
.user-display-container {
    display: flex;
    gap: 0.7rem;
    margin: 1rem auto 2rem 2.3rem;
    align-items: center;
    width: fit-content;
}
.user-initials {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: #000080;
    text-align: center;
    align-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px; 
    margin-left: 1rem;
}

.user-name h3 {
    margin-bottom: 0;
    max-width: 200px;
    font-size: 1.4rem;
    color: #fff;
}
.left-sidebar nav ul li {
    width: fit-content;
    list-style: none;
}
nav ul{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1rem;
    /* margin: 1.5rem 0 0 5px; */
}
.nav-link {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    border-radius: 4px; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transition: 0.3s;
}

span.dashboard {
    margin-left: 0.4rem;
}
span.resume-builder {
    margin-left: 0.4rem;
}
span.blog {
    margin-left: 0.3rem;
}
span.job-board {
    margin-left: 0.3rem;
}

.fa-right-from-bracket {
    transform: rotate(180deg);
}
nav i {
    font-size: 1.1rem;
}
.left-sidebar nav {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nav-bottom {
  margin: auto 0 1rem 0;

}
.nav-separator {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 2rem 0 0;
  width: 100%; 
  align-self: center; 
}
a.logout {
    margin-top: 1.5rem;
    margin-left: 42px;
    width: fit-content;
}
.active {
    width: 70px;
    left: 42px;
    position: absolute;
    opacity: 0.7;
}
footer {
    display: none;
}

.mobile-sidebar,
.mobile-sidebar-overlay {
    display: none;
}
.mobile-sidebar i {
    color: #fff;
}
.mobile-topbar-row {
    display: none;
}
.mobile-brand {
    align-self: center;
}
.mobile-brand h4 {
    margin-bottom: 0;
}
.mobile-menu-btn {
    all: unset;           
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;    
}

.mobile-menu-btn i {
    color: #333;            
    font-size: 1.2rem;      
}
@media (max-width: 1400px) {
    .mobile-topbar-row {
        display: flex;
        gap: 2rem;
        margin-bottom: 2.5rem;
        padding: 1rem;
        justify-content: space-between;
    }

    .mobile-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 999;
    }

    .mobile-sidebar nav {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .mobile-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 82%;
        max-width: 320px;
        height: 100dvh;
        background: #fff;
        z-index: 1000;
        box-shadow: 4px 0 18px rgba(0, 0, 0, 0.14);
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background-color: var(--cn-teal);
        box-sizing: border-box;
    }
    .mobile-sidebar .nav-bottom {
        margin-top: auto;
    }

    .mobile-sidebar li, .nav-bottom a {
        list-style: none;
        color: #fff;
    }

    .mobile-sidebar.hidden,
    .mobile-sidebar-overlay.hidden {
        display: none;
    }

    .mobile-sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 999;
    }

    .mobile-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1rem;
    }

    .mobile-sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-sidebar-nav a {
        text-decoration: none;
        color: #222;
        font-weight: 600;
    }
}