/*****************

1. Header Styles

*****************/
/* 1. The Container */
#as-header-container {
    margin: 1rem 0;
}

#as-header-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); /* Adjusted min-width for the new size */
    gap: 0.5rem;
    max-height: 220px;
    overflow-y: auto;
    padding: 2px; /* Prevents borders from clipping */
}

/* 2. The Wrapper */
.as-header-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    background: transparent; /* Removes any hover bubbles */
}

/* 3. The Avatar Div (Your new class) */
.as-avatar {
    /* FORCE THE SQUARE */
    border-radius: 0 !important; 
    
    /* SIZE - Bumping to 60px looks better in a grid than 48px */
    width: 60px !important;      
    height: 60px !important;
    
    /* THE ACADEMY BORDER */
    border: 1px solid rgb(var(--color1)); 
    
    /* Image Handling */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Transition for the hover effect */
    transition: all 0.2s ease;
}

/* 4. Typography (Username) */
.as-header-username {
    font-family: var(--font1);     /* Lora */
    font-weight: 700;              /* Bold */
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    color: rgb(var(--color1));
    margin-top: 6px;
    text-align: center;
    line-height: 1.2;
}

/* 5. Hover Effects */
.as-header-account:hover .as-avatar {
    border-color: rgb(var(--color3)); /* Gold Border */
    transform: translateY(-2px);      /* Slight Lift */
}

.as-header-account:hover .as-header-username {
    color: rgb(var(--color3));        /* Gold Text */
}

/* 6. Inactive User Styling */
.as-header-inactive-user .as-avatar {
    opacity: 0.6;
    filter: grayscale(100%); /* The "Archived File" look */
}

.as-header-inactive-user:hover .as-avatar {
    opacity: 1;
    filter: grayscale(0%);
}








.as-header-inactive-user:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

#accountswitcher_header_popup {
   padding: 0 30px 0 15px;
   position: absolute;
   top:0;
   display: none;
   opacity: 1;
}

#accountswitcher_header_popup ul {
   position: absolute;
   left: 0;
   padding-left: 10px;
   padding-right: 20px;
   min-width: 80px;
   margin-top:17px;
   line-height: 120%;
   border-bottom-right-radius: 10px;
   border-bottom-left-radius: 15px;
   white-space: pre-line;
}

[id*="profile_switch_"] > img {
    height: 32px;
    width: auto;
}

[id*="profile_link_"] {
    list-style-type: none;
}

[id*="profile_link_"] > a > img {
    height: 32px;
    width: auto;
}

.acclist_outer {
    text-align: center;
    float: left;
    border: 1px solid;
    border-color: #000;
    width: 100%;
}

.acclist_att {
    padding-left: 20px;
}

.acclist_att > img {
    height: 44px;
    width: auto;
}

.acclist_mast {
    padding-left: 30px;
}

.acclist_mast > img {
    height: 44px;
    width: auto;
}

.acclist_card_mast {
    float:left;
    width: 100%;
    padding-right: 0;
    border-bottom: 1px solid #000;
}

.acclist_card_mast > img {
    height: 44px;
    width: auto;
}

.acclist_card_att {
    float:left;
    width: 250px;
    text-align: center;
}

.acclist_card_hidden {
    text-align: center;
    padding-top: 30px;
    float: left;
    width: 250px;
    border: none;
}

.acclist_card_att > img {
    height: 100px;
    width: auto;
}

.profile_card_mast {
    padding: 5px;
    background: none;
    border: none;
}

.profile_card_att {
    padding: 5px;
    background: none;
    border: none;
}

.as_head_drop {
    list-style-type: none;
    white-space: nowrap;
}

.as_head_drop > img {
    height: 22px;
    width: auto;
}

.as_head_userbit {
    list-style: none;
}

.as_head_userbit > img {
    height: 22px;
    width: auto;
}

.as_header {
    border-top: 1px solid;
    margin-top: 7px!important;
    padding-top: 7px!important;
    clear: both;
    min-width: 400px;
}

.as_header > img {
    height: 22px;
    width: auto;
}

.as_header > li > img {
    height: 22px;
    width: auto;
}

.as_side_user {
    list-style-type: none;
    white-space: nowrap;
    height: 24px;
}

.as_menu-arrow {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    width: 10px;
    height: 100%;
    border: 5px solid transparent;
    -webkit-transition: opacity .4s ease .4s;
    -moz-transition: opacity .4s ease .4s;
    -ms-transition: opacity .4s ease .4s;
    -o-transition: opacity .4s ease .4s;
    transition: opacity .4s ease .4s;
}

.as_sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.as_sidenav a {
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    font-size: 15px;
    color: #ccc;
    display: inline-block;
    transition: 0.3s;
}

.as_sidenav a:hover {
    color: #f1f1f1;
}

.as_sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

 .as_sidenav ul {
    margin-top: 40px;
}

 .as_sidenav ul li {
    display: inline-block;
    width: 100%;
    list-style: none;
    font-size: 15px;
    text-align: left;
    padding: 3px 0px;
}

 .as_sidenav ul li img {
    height: 22px;
    width: auto;
}

 .as_sidenav ul li:before {
    content: "";
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.2);
}

@media screen and (max-height: 450px) {
  .as_sidenav {padding-top: 15px;}
  .as_sidenav a {font-size: 15px;}
}

/* Cyberpunk account switcher pass */
.as_sidenav {
    background:
        linear-gradient(180deg, rgba(var(--color2light), .98), rgba(var(--color2), .98));
    border-right: 1px solid rgba(var(--color3), .65);
    box-shadow: 10px 0 28px rgba(var(--color3), .18);
}

.as_sidenav a {
    color: rgb(var(--color3));
    font-family: var(--font3);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.as_sidenav a:hover {
    color: rgb(var(--color3light));
    text-shadow: 0 0 12px rgba(var(--color3light), .75);
}

.as_menu-arrow {
    background: rgba(var(--color3), .18);
    box-shadow: 0 0 18px rgba(var(--color3), .35);
}         
		
		
		