/* START OF HEADER */

.header-top {
    font-family: "Inter", serif;
    background-color: #F2F2F2;
    color: #8A9CA7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 4rem;
    font-size: 0.9rem;
}

.header-top-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-top-left i {
    margin-right: 0.4rem;
}

.header-top-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-top-right select {
    background: #F2F2F2;
    margin: 0;
    color: #8A9CA7;
    border: none;
    padding: 0.2rem;
    cursor: pointer;
}

.header-top-right select:focus {
    outline: none;
}

.header-top-right a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.header-top-right a:hover {
    color: #cccccc;
}


.header-bottom {
    font-family: "Inter", serif;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 4rem;
    background-color: #fbfbfb;
}

.header-left-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}


#header-logo-img {
    height: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav button {
    border: 0;
    background: none;
    font-family: "Inter", serif;
    text-decoration: none;
    cursor: pointer;
    color: #576974;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #273944;
}

.create-account-btn {
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    border: none;
    padding: 0.4rem 1.4rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 50px;
}

.create-account-btn:hover {
    background-color: #333333;
}

i {
    color: #8A9CA7;
}

/* END */










/* START OF USER INFO */
#user-info {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 20px;
    z-index: 100;
}

#user-info .user-summary {
    padding: 8px 12px;
    font-weight: 600;
    border-radius: 5px;
    font-size: 14px;
    color: #576974;
}

#user-info .user-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px;
}

#user-info.active .user-dropdown {
    display: block;
}

#user-info .user-dropdown span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

#user-info .user-dropdown .logout-btn {
    display: block;
    width: 100%;
    padding: 6px;
    font-size: 14px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#user-info .user-dropdown .logout-btn:hover {
    background-color: #c0392b;
}

/* END */









/* START OF PURPLE BANNER */


.purple-banner {
    height: 300px;
    /* height: 400px; */
    position: relative;
    background-color: #7A6EA1;
    color: #ffffff;
    font-family: 'Noto Sans', sans-serif;
    padding: 40px 0;
    background-image: url(../assets/menu_bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    height: 100%;
    overflow: visible;

}
.banner-content img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(28px);
    width: 55%;
    /* width: 77%; */
    /* z-index: 10; */
}

.banner-text {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.banner-text h1 {
    font-size: 40px;
    margin-bottom: 8px;
    opacity: 0.7;
    font-weight: 600;
}

.banner-text p {
    opacity: 0.7;
    font-size: 18px;
}







/* START OF GENERAL STYLES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #f2f2f2;
    font-family: 'Noto Sans', sans-serif;
}






/* SIDEBAR NAVBAR STYLES */

body{
  margin-left: 80px;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    background: linear-gradient(90deg, #061d3a, #072447);
    color: white;
    transition: width 0.3s ease;
    width: 240px;
    overflow: hidden;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    min-height: 60px;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .sidebar-title {
    display: none;
}

.toggle-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 22px;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.sidebar.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.user-section {
    padding: 30px 4px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

.sidebar.collapsed .user-section {
    padding: 20px;
}

.user-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar.collapsed .user-avatar {
    width: 45px;
    height: 45px;
    margin: 0 auto;
    font-size: 18px;
}

.user-avatar::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    width: 10px;
    height: 10px;
    background: #4ade80;
    border: 2px solid #2d3561;
    border-radius: 50%;
}

.user-info {
    transition: opacity 0.3s ease, max-height 0.3s ease;
    max-height: 200px;
    overflow: hidden;
}

.sidebar.collapsed #user-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden; 
    margin: 0; 
    padding: 0;
}

.user-name {
    font-size: 14px;
    margin-bottom: 5px;
}

.user-email {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.logout-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu {
    padding: 20px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 240px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 24px 20px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 24px 0;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-item.active {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-icon {
    width: 22px;
    /* height: 40px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size: 24px; */
    flex-shrink: 0;
}

.nav-text {
  font-size: 14px;
    margin-left: 10px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .nav-text {
    display: none;
}

.bottom-section {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.language-selector {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.05);
}

.language-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    color: #9ca3af;
    font-size: 16px;
    font-weight: bold;
}

.language-options {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    width: 100%;
    margin-top: 0;
}

.language-options.expanded {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.language-option {
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #9ca3af;
    font-size: 14px;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.language-option.active {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.sidebar.collapsed .language-options {
    display: none;
}

.settings-icon {
    padding: 16px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-icon:hover {
    background: rgba(255, 255, 255, 0.05);
}

.settings-icon svg {
    width: 28px;
    height: 28px;
    fill: #9ca3af;
}

.bottom-section select#language {
    display: none;
}




