.body_new {
    background:var(--bg-dark);
    font-family:'Sora',sans-serif;
    color:#fff;
    position:relative;
    min-height:100vh;
    box-sizing:border-box;
    padding-bottom:130px; /* room for .new-bottom (absolute) so it never overlaps content */
}

.body_new2 {
    background:linear-gradient(-45deg,#0f1011,#2f3035);
    font-family:'Sora',sans-serif;
    color:#fff;
    min-height:100vh;
}

.new-top {
    width:100%;
    background:var(--bg-card);
    border-bottom:1px solid rgba(255, 255, 255, .1);
}

.new-top-content {
    width:1000px;
    margin:0 auto;
    padding-top: 20px;
    padding-bottom:20px;
    padding-left:10px;
    padding-right:10px;
    box-sizing: border-box;
}

.new-loginbox {
    width:500px;
    margin:0 auto;
    background:var(--bg-card);
    padding:30px;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    border-bottom:1px solid rgba(255, 255, 255, .2);
    border-right:1px solid rgba(255, 255, 255, .3);
}

.new-loginbox-head {
    width:100%;
    font-size:20px;
    font-weight:600;
    text-align: center;
}

.new-loginbox-btn {
    width:fit-content;
    padding:8px 60px;
    background:rgba(0, 0, 0, .3);
    border-radius:50px;
    font-size:15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:12px;
    box-sizing: border-box;
    transition: all .1s;
    cursor:pointer;
    margin:0 auto;
    margin-top:20px;
    user-select: none;
    -webkit-user-drag: none;
}

.new-loginbox-btn:hover {
    background:var(--blurple-hover);
}

.new-loginbox-btn img {
    width:35px;
    height:35px;
    user-select: none;
    -webkit-user-drag: none;
}

.new-loginbox-logo {
    width:400px;
    margin:0 auto;
    margin-top:10%;
    margin-bottom:30px;
}

.new-loginbox-logo img {
    width:100%;
}

.new-login-undertext {
    width:500px;
    margin:0 auto;
    margin-top:30px;
    font-size:10px;
    font-weight:500;
    text-transform: uppercase;
    letter-spacing:5px;
    word-spacing: 4px;
    text-align: center;
    color:rgba(255, 255, 255, .4);
    line-height: 1.5;
}

.new-login-undertext-link {
    width:fit-content;
    height: fit-content;
    margin:0 auto;
    margin-top:90px;
    font-size:10px;
    font-weight:800;
    text-transform: uppercase;
    letter-spacing:2px;
    text-align: center;
    color:rgba(255, 255, 255, .6);
    line-height: 1.5;
    transition:all .1s;
    cursor:pointer;
}

.new-login-undertext-link a {
    color:inherit;
    text-decoration: inherit;
}

.new-login-undertext-link a:hover {
    color:var(--blurple);
}

.new-page-top {
    width:100%;
    background:var(--bg-card);
    border-bottom:1px solid rgba(255, 255, 255, .3);
    position:sticky;
    top:0;
    z-index:70; /* above search results (50) and ticket rows while scrolling */
}

.new-page-top-content {
    width:1100px;
    margin:0 auto;
    padding:10px 10px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.new-page-logo {
    width:40px;
}

.new-page-logo img {
    width:100%;
    margin-bottom:-5px;
}

.new-page-logo-text {
    width:fit-content;
    height:40px;
    display: flex;
    align-items: center;
    padding-left:15px;
    border-left:1px solid rgba(255, 255, 255, .4);
    font-size:12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-left:15px;
}

.new-top-user {
    width:fit-content;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap:20px;
}

.new-top-userbox {
    width:fit-content;
    padding:2px;
    padding-right:15px;
    border-radius: 50px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap:10px;
    font-size:13px;
    font-weight:600;
    border:2px solid transparent;
    transition: all .1s;
    cursor:pointer;
}

.new-top-userbox:hover {
    background:rgba(255, 255, 255, .1);
    border:2px solid rgba(255, 255, 255, .2);
    box-shadow: rgba(0, 0, 0, 0.35) 2px 2px 5px;
    transform: translateY(-2px);
}

.new-top-userbox img {
    width:35px;
    height:35px;
    border-radius: 50%;
}

.new-page-content {
    width:1100px;
    margin:0 auto;
    margin-top:60px;
    padding:0px 10px;
    box-sizing: border-box;
}

.new-page-line {
    width:100%;
    height:3px;
    border-radius:50px;
    background:var(--blurple-hover);
    margin-top:10px;
    margin-bottom:10px;
}

.new-page-h1 {
    width:100%;
    font-size:36px;
    font-weight: 300;
    display: flex;
    align-items: center;
}

.new-ticketrow-box {
    width:100%;
    border:2px solid rgba(255, 255, 255, .2);
    display: flex;
    flex-direction: column;
    max-width:1080px;
    margin:0 auto;
    border-radius:5px;
    margin-top:30px;
}

.new-ticketrow-top {
    width:100%;
    display: flex;
    gap:20px;
    align-items: center;
    background:rgba(0, 0, 0, .4);
    padding:20px;
    border-bottom:1px solid rgba(255, 255, 255, .2);
}

.new-ticket-item {
    font-size:14px;
    font-weight: 600;
    width:25%;
    display: flex;
    align-items: center;
}

.tickettop {
    font-size:11px;
    font-weight:700;
    color:#FFCF2F;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.new-ticketrow {
    width:100%;
    display: flex;
    gap:20px;
    align-items: center;
    padding:20px;
    border-bottom:1px solid rgba(255, 255, 255, .2);
    transition: all .1s;
    cursor:pointer;
}

.new-ticketrow:hover {
    background:rgba(0, 0, 0, .2);
}

.ticket-closed {
    color:var(--red2);    
}

.ticket-closed svg {
    width:20px;
    height:20px;
    color:#ffffff;
    fill:#ffffff;
    transition:all .1s;
    cursor:pointer;
}

.new-ticket-item.ticket-closed, .new-ticket-item.ticket-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ticket-closed svg:hover {
    color:var(--blurple);
    fill:var(--blurple);
}

.ticket-open {
    color:var(--green2);
}

.new-bottom {
    width:100%;
    position:absolute;
    bottom:0px;
    padding:30px 0px;
}

.new-bottom-content {
    width:1100px;
    padding:0px 10px;
    font-size:14px;
    margin:0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.new-ifadmin-search {
    width:100%;
    max-width:1100px;
    padding:10px;
    box-sizing: border-box;
    margin:0 auto;
    margin-top:10px;
    margin-bottom:-10px;
}

.new-ifadmin-search input {
    width:100%;
    padding:15px 20px;
    box-sizing: border-box;
    font-family:'Sora',sans-serif;
    font-size:14px;
    font-weight: 400;
    color:#ffffff;
    outline:none;
    border:2px solid rgba(255, 255, 255, .2);
    background:rgba(0, 0, 0, .2);
    transition:all .1s;
    border-radius:50px;
}

.new-ifadmin-search input::placeholder {
    color:rgba(255, 255, 255, .6);
}

.new-ifadmin-search input:hover, .new-ifadmin-search input:focus {
    border:2px solid var(--blurple);
}

.no-content {
    width:100%;
    max-width:900px;
    margin:0 auto;
    padding:30px 10px;
    text-align: center;
    font-size:13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color:rgba(255, 255, 255, .5);
}

/* ---- login button is a link ---- */

a.new-loginbox-btn {
    color:inherit;
    text-decoration:none;
}

/* ---- user dropdown menu ---- */

.new-top-user {
    position:relative;
}

.new-user-dropdown {
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    min-width:240px;
    background:var(--bg-card);
    border:1px solid rgba(255, 255, 255, .2);
    border-radius:10px;
    padding:6px;
    box-shadow: rgba(0, 0, 0, .45) 0px 10px 25px;
    display:flex;
    flex-direction:column;
    z-index:60;
}

.new-user-dropdown[hidden] {
    display:none;
}

.new-user-dropdown-item {
    display:block;
    padding:10px 14px;
    border-radius:8px;
    font-size:13px;
    font-weight:600;
    color:#fff;
    text-decoration:none;
    cursor:pointer;
    transition:all .1s;
}

.new-user-dropdown-item:hover {
    background:var(--blurple);
    color:#fff;
}

.new-user-dropdown-logout {
    color:var(--red2);
}

.new-user-dropdown-logout:hover {
    background:var(--red2);
    color:#fff;
}

/* ---- ticket rows ---- */

.new-ticketrow:last-child {
    border-bottom:none;
}

.new-ticketrow.is-open {
    cursor:default;
}

[data-name="trash"] {
    display:flex;
    align-items:center;
}

/* ---- load more ---- */

.new-load-more {
    width:fit-content;
    margin:20px auto 0;
    padding:10px 40px;
    border:2px solid rgba(255, 255, 255, .2);
    border-radius:50px;
    font-size:12px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    color:rgba(255, 255, 255, .8);
    cursor:pointer;
    user-select:none;
    transition:all .1s;
}

.new-load-more:hover {
    border-color:var(--blue);
    color:#fff;
}

.new-load-more.is-loading {
    opacity:.5;
    pointer-events:none;
}

/* ---- admin search results dropdown ---- */

.new-ifadmin-search {
    position:relative;
}

.new-search-results {
    position:absolute;
    left:10px;
    right:10px;
    top:calc(100% - 2px);
    background:var(--bg-card);
    border:2px solid rgba(255, 255, 255, .2);
    border-radius:10px;
    max-height:420px;
    overflow-y:auto;
    box-shadow: rgba(0, 0, 0, .45) 0px 12px 30px;
    z-index:50;
}

.new-search-results[hidden] {
    display:none;
}

.new-search-item {
    display:block;
    padding:12px 16px;
    border-bottom:1px solid rgba(255, 255, 255, .1);
    color:#fff;
    text-decoration:none;
    cursor:pointer;
    transition:all .1s;
}

.new-search-item:last-child {
    border-bottom:none;
}

.new-search-item:hover {
    background:rgba(0, 0, 0, .25);
}

.new-search-item.is-open {
    cursor:default;
}

.new-search-item-top {
    display:flex;
    align-items:center;
    gap:12px;
    font-size:13px;
    font-weight:600;
}

.new-search-id {
    color:#FFCF2F;
}

.new-search-status-closed,
.new-search-status-open {
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
}

.new-search-status-closed {
    color:var(--red2);
}

.new-search-status-open {
    color:var(--green2);
}

.new-search-date {
    margin-left:auto;
    font-size:12px;
    font-weight:400;
    color:rgba(255, 255, 255, .6);
}

.new-search-item [data-name="trash"] svg {
    width:18px;
    height:18px;
    color:#ffffff;
    transition:all .1s;
    cursor:pointer;
}

.new-search-item [data-name="trash"]:hover svg {
    color:var(--blurple);
}

.new-search-meta {
    font-size:12px;
    color:rgba(255, 255, 255, .6);
    margin-top:4px;
}

.new-search-snippet {
    font-size:12px;
    font-style:italic;
    color:rgba(255, 255, 255, .45);
    margin-top:6px;
}

.new-search-empty {
    padding:14px 16px;
    font-size:13px;
    color:rgba(255, 255, 255, .6);
}

/* ---- modals (new design) ---- */

.modal-content {
    background:var(--bg-card);
    border:1px solid rgba(255, 255, 255, .2);
    border-radius:15px;
    padding:30px;
    width:100%;
    max-width:440px;
    box-sizing:border-box;
    box-shadow: rgba(0, 0, 0, .5) 0px 16px 48px;
    font-size:14px;
    line-height:1.6;
}

.modal-content-head {
    font-size:18px;
    font-weight:600;
    margin-bottom:14px;
}

.modal-account {
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:14px;
}

.modal-account-avatar {
    width:64px;
    height:64px;
    border-radius:50%;
}

.modal-account-name {
    font-size:15px;
    font-weight:600;
}

.modal-account-meta {
    font-size:12px;
    color:rgba(255, 255, 255, .6);
}

.modal-account-note {
    font-size:12px;
    color:rgba(255, 255, 255, .5);
}