/* Legacy Navigator Cleanup - Removing conflicting rules */
#navbar a {
  display: inline-flex;
}
#text_hover{
  display: none;
}
#pc_nav {
  height: 52px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide_in {
  from { transform: translateX(-100%); visibility: visible; }
  to { transform: translateX(0%); visibility: visible; }
}

@keyframes slide_out {
  from { transform: translateX(0%); visibility: visible; }
  to { transform: translateX(-100%); visibility: hidden; }
}

/* SCROLLBAR*/
html::-webkit-scrollbar {
  width: 12px;
}
html::-webkit-scrollbar-track {
  background: rgba(103, 103, 103, 0); 
}
html::-webkit-scrollbar-thumb {
  background-color: var(--primary, #2ee012); 
  border-radius: 20px; 
  border: 3px solid rgb(0, 0, 0); 
}
/* #mobile_close should be visible when dropdown is active, 
   but it is controlled by the .active class on #dropdown and JS toggling display of mobile_dropdown.
   The 'X' itself is usually inside the dropdown. */
#mobile_close {
  display: block; /* Ensure it can be seen */
}
#close {
  display: none;
  width: 40px;
  height: 30px;
  background-color: red;
  z-index: 5;
  float: right;
  &:after {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "\D7";
    font-size: 28px;
    font-family: "Franklin Gothic Medium";
    color: #ffffff;
    text-align: center;
  }
}

/* SCROLLBAR*/
html::-webkit-scrollbar {
  width: 12px;
}
html::-webkit-scrollbar-track {
  background: rgba(103, 103, 103, 0); /* color of the tracking area */
}
html::-webkit-scrollbar-thumb {
  background-color: rgb(46, 224, 18); /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 3px solid rgb(0, 0, 0); /* creates padding around scroll thumb */
}

/*MOBILE CASES - REFINED*/
@media screen and (max-width: 768px) {
  #pc_nav, .nav-links {
    display: none !important;
  }
  
  .banner-container {
    height: 250px !important;
  }

  .aligncenter {
    text-align: center;
    font-size: 12px;
  }

  #mobile_logo {
    display: block;
    margin: 0 auto;
  }
}
html {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  color-scheme: light dark;
  color: white;
  background-color: rgb(10, 20, 80);
}

/*ANIMATION FRAMES*/
@keyframes opacity_blink {
  from {
    opacity: 50%;
  }
  to {
    opacity: 100%;
  }
}
@keyframes slide_in {
  from {
    visibility: visible;
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
    visibility: visible;
  }
}
@keyframes slide_out {
  from {
    visibility: visible;
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);

    visibility: hidden;
  }
}

/* Navbar Auth Styles */
#navbar-auth-container {
    display: flex;
    align-items: center;
}

.nav-auth-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-auth-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

.nav-auth-btn.login {
    background: var(--primary);
    border: none;
    color: #fff;
}

.nav-auth-btn.login:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

.nav-user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    cursor: pointer;
}

.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.nav-user-info-dropdown {
    display: flex;
    flex-direction: column;
}

.nav-user-name {
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#nav-logout-btn {
    padding: 2px 0;
    border: none;
    color: #ef4444;
    font-size: 0.7rem;
    text-align: left;
    width: fit-content;
    background: transparent !important;
}

#nav-logout-btn:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .nav-user-name {
        display: none;
    }
    /* Ensure the profile container stays visible on mobile */
    .nav-user-profile {
        padding: 4px;
    }
}


