.header-content {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-top-con {
    margin-bottom: 0px;
}

*{
    --zoom: 1;
}
.profile-block {
    display: flex;
    justify-content: center;
    margin-bottom: 94px;
}

h1.h2_server_edit {
    color: #383838;
    
    font-size: 20px;
    
    font-weight: 700;
}

p.server_info_buy {
    font-size: 14px;
    margin-block-end: -20px;
    margin-block-start: -9px;
}

.image-not-found {
    width: 468px;
    height: 60px;
    display: flex;
    background: #7a6af4;
    justify-content: center;
    align-items: center;
    color: white;
   
    pointer-events: none;
    font-size: 28px;
    font-weight: 400;
}

input.custom-input-2:focus {
    border: solid 1px #8e80ff;
}

p.text-object-input-b {
    color: #383838;
    
    font-size: 13px;
    
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 20px;
    letter-spacing: -0.1px;
}

name#serverNameCreate {
    color: #7a6af4;
}

button#close_absolute_forms {
    margin-top: 15px;
}

input.custom-input-2 {
    border-radius: 6px;
    border: 1px solid #E5E5E7;
    background: #F8F9FB;
    width: 100%;
    height: 46px;
    padding-left: 12px;
    padding-right: 12px;
    transition: 0.2s;
    color: #858D95;
    
    font-size: 12px;
    outline: none;
    
    font-weight: 400;
    line-height: 22px;
}

p.profile-top-a {
    
    font-size: 15px;
    
    font-weight: 400;
    line-height: 22px;
}

canvas#serverChart {
    width: 100% !important;
    height: 350px !important;
}

#chart-tooltip {
    z-index: 1000;
    position: absolute;
    pointer-events: none;
    border-radius: 14px;
    padding: 10px 16px;
    background: #ffffff;
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 0;
    transform: translate(-50%, -130%) scale(0.85);
    white-space: nowrap;
    filter: drop-shadow(0 4px 51.1px rgba(0, 0, 0, 0.25));
}

p.title-char-top-a {
    color: #323539;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.16px;
    width: calc(100% + 30px);
    margin-left: -15px;
    padding-left: 15px;
    border-bottom: solid 1px #e5e5e7;
    padding-bottom: 10px;
}

p.title-char-bottom-a {
    color: #858C95;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.1px;
    border-top: solid 1px #e5e5e7;
    padding-top: 10px;
    width: calc(100% + 30px);
    margin-left: -15px;
    padding-left: 15px;
}

.chart-card {
    border: solid 1px #E5E5E7;
    padding: 15px;
    border-radius: 8px;
}

.chart-tooltip-value {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

body#body {
    overflow-x: hidden;
}

.group_button_boost {
    display: flex
;
    flex-wrap: wrap;
    margin-left: 0px;
}

.chart-tooltip-dot {
    width: 14px;
    height: 14px;
    background: #63e27e;
    border-radius: 50%;
    display: inline-block;
}

.chart-tooltip-arrow {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.chart-container {
    width: 100%;
    margin-top: 15px;
    display: grid;
    gap: 40px;
}

body#body {
    background: white;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    margin-top: 36px;
}

p.profile-top-a.active {
    color: #7A6AF4;
}

h1.text-profile-top {
    color: #383838;
    
    font-size: 22px;
    
    font-weight: 600;
}

.group-profile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button#add_server {
    width: 221px;
}

.custom-button-4 {
    display: flex;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 6px;
    border-radius: 6px;
    background: #7A6AF4;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.04);
    color: #FFF;
    
    font-size: 14px;
    
    font-weight: 500;
    transition: 0.3s;
    line-height: 20px;
    outline: none;
    border: none;
    cursor: pointer;
}

.right-top-profile {
    display: flex;
    gap: 15px;
}

.custom-button-5 {
    display: inline-flex;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    border: 1px solid #E5E5E7;
    background: #FFF;
/* Shadow / XSM */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.04);
    color: #858C95;
    
    font-size: 14px;
    
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.links-profile.active {
    color: #383838;
}

.links-profile:hover {
    color: #383838;
}

.links-profile {
    color: #858C95;
    position: relative;
    font-size: 14px;
    font-style: normal;
    transition: 0.3s;
    cursor: pointer;
    font-weight: 500;
    user-select: none;
}

.links-profile-objects:after {
    width: 100%;
    align-items: flex-start;
    gap: 24px;
    border-bottom: 1px solid #E5E5E7;
    content: "";
    position: absolute;
    bottom: -14px;
}

.links-profile.active:after {
    width: 100%!important;
}

.links-profile.active:after {
    width: 0%;
    align-items: flex-start;
    border-bottom: 2px solid #7A6AF4;
    content: "";
    position: absolute;
    bottom: -14px;
    transition: 0.3s;
    z-index: 1;
    left: 0;
}

input.custom-input-2.error {
    border: 1px solid #DE5B26;
    background: #FFE6E6;
    color: #DE5B26;
}

.content-profile-block.servers-list {
    overflow: auto;
    height: 263px;
    margin-top: 5px;
    gap: 32px;
}

.links-profile-objects {
    display: flex;
    gap: 30px;
    position: relative;
    margin-top: 20px;
    margin-bottom: 40px;
}

p.profile-description-server {
    color: #595550;
    
    font-size: 12px;
    
    font-weight: 400;
    max-width: 458.241px;
    line-height: 20px;
}

p.profile-title-server {
    color: #383838;
    
    font-size: 20px;
    max-width: 522.629px;
    
    font-weight: 700;
}

.top-server-titile {
    display: grid;
    gap: 10px;
}

.server-info-a {
    width: 66.873px;
    height: 67px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e5e5;
    border-radius: 100%;
    flex-direction: column;
    gap: 8px;
    color: #383838;
    text-align: center;
    
    font-size: 14px;
    
    font-weight: 600;
}

.profile-block-a {
    border-radius: 12px;
    border: 1px solid #E5E5E7;
    height: 332px;
    padding-bottom: 10px;
    padding-top: 10px;
}
.profile-content {
    display: flex;
    justify-content: space-between;
}

.top-profile-title {
    display: flex;
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
    border-bottom: solid 1px #E5E5E7;
}

.content-profile-block {
    padding: 16px 20px;
    display: grid;
    gap: 8px;
}

.custom-button-4:hover {
    background: #8e80ff;
}

.custom-button-5:hover {
    background: #e5e5e7;
    color: #464c53;
}

.card-balance {
    background: url(/img/profile/card.svg);
    width: 314px;
    height: 193px;
    background-repeat: no-repeat;
    object-fit: cover;
}

p.top-balance-a {
    color: #FFF;
    
    font-size: 12px;
    
    font-weight: 400;
    opacity: 0.54;
    
}

p.top-balance-b {
    color: #FFF;
    
    font-size: 28px;
    
    font-weight: 600;
    line-height: 38px; /* 135.714% */
    letter-spacing: -0.42px;
}

p.bottom-balance-a-1 {}

.bottom-balance-a {
    color: #FFF;
    
    font-size: 9px;
    
    font-weight: 700;
    display: flex;
    gap: 8px;
    
    letter-spacing: 0.5px;
}

p.bottom-balance-a-2 {
    color: #9F93FF;
}

.bottom-balance-b {
    display: flex;
    font-size: 16px;
    
    font-weight: 600;
    
    letter-spacing: 0.5px;
    align-items: center;
    color: white;
    gap: 7px;
}

.border-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 18px;
}

.bottom-balance {
    display: grid;
    gap: 5px;
    justify-items: start;
}

.bottom-balance-b {
    margin-left: -4px;
}

.top-balance {
    display: grid;
    gap: 4px;
}

.server-info-a.color-purple {
    background: #7A6AF466;
}

.server-info-a.color-gold {
    background: #F2BA1A;
}

.server-info-a.color-gold > span {
    color: #654C05;
}
.status-server {
    color: #40D17F;
    
    font-size: 12px;
    
    font-weight: 500;
    line-height: 106.523%;
    height: 26.519px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 3px;
    background: rgba(64, 209, 127, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-control {
    display: flex;
    align-items: center;
    gap: 20px;
}

a.control-server:hover {
    color: #7a6af4;
}

a.control-server {
    color: #515151;
    
    font-size: 12px;
    transition: 0.2s;
    
    font-weight: 600;
    
    text-decoration: none;
}

a.custom-link-b:hover {
    color: #7A6AF4;
}

a.custom-link-b {
    color: #858C95;
    text-decoration: none;
    transition: 0.2s;
}

.right-info-server {
    display: flex;
    gap: 10px;
}

.profile-server-info {
    display: flex;
    align-items: center;
    gap: 35px;
}

.server-info-a.color-gold > i {margin-left: 6.5px;}

p.content-profile-title {
    color: #323539;
    
    font-size: 16px;
    
    font-weight: 600;
    line-height: 24px; /* 150% */
    letter-spacing: -0.16px;
}

.profile-object.pane-profile {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.server-description {
    font-size: 14px;
}

.left-info-server {
    display: grid;
    gap: 16px;
}

.top-info-server {
    display: flex;
    align-items: flex-start;
    gap: 39px;
}

h2.h2_server_edit {
    color: #383838;
    font-size: 20px;
    font-weight: 700;
}


.right-profile-object {width: calc(100% - 379px);}

p.title-content-info {
    color: #383838;
    font-size: 20px;
    font-weight: 600;
}

p.text-server-info {
    min-width: 99px;
    color: #595550;
    font-size: 16px;
    font-weight: 500;
}

.object-server-a {
    display: flex;
    align-items: center;
    gap: 22px;
}

.players-online {
    display: flex;
}

.rating-server {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.rate-server {
    display: flex;
}

.star-server.active {
    background-image: url(/img/server/star.svg?v=3);
}

.star-server {
    display: flex;
    cursor: pointer;
    background-image: url(/img/server/no-star.svg?v=3);
    width: 32px;
    transition: 0.12s;
    background-position: center;
    height: 26px;
    background-repeat: no-repeat;
}

.object-server-a.complate {
    pointer-events: none;
}

.star-server.active {
    animation: shake 0.5s;
}

.star-server.select {
    background-image: url(/img/server/star.svg?v=3);
    pointer-events: none;
}

.images-server {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

img.image-server {
    width: 100%;
    height: inherit;
    aspect-ratio: 120/73;
}

p.text-p {
    color: #7a6af4;
    margin-left: 7px;
}

.main-description {
    display: grid;
    gap: 15px;
}

.category-block {
    display: grid;
    gap: 15px;
}

h6.category-title {
    color: #595550;
    font-size: 16px;
    font-weight: 400;
}

p.desciption-server {
    color: #595550;
    
    font-size: 16px;
    
    font-weight: 400;
    line-height: 30.5px;
}

h5.h5-title {
    color: #383838;
    font-size: 20px;
    font-weight: 600;
}

.group-categorys {
    display: grid;
    gap: 23px;
}

.categorys-list {
    display: grid;
    gap: 37px;
}

a.button-custom-3 {
    color: #98999B;
    font-size: 13px;
    font-weight: 500;
    padding: 15px 19px;
    text-transform: math-auto;
    border-radius: 6px;
    border: 1px solid #E5E5E7 !important;
}

.list-objects-category {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.category-object {
    display: grid;
    gap: 15px;
}

.group-rating-server {
    display: grid;
    gap: 5px;
    justify-items: start;
}

@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-1px); }
    40% { transform: translateX(1px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

.copy-server {
    display: flex;
    align-items: center;
    height: 35px;
    cursor: pointer;
}



.ip-copy {
    width: 40px;
    height: 35px;
    display: flex;
    flex-shrink: 0;
    border: 1px solid #4F9A4F;
    background: #4F9A4F;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}

.content-info-server {
    display: grid;
    gap: 35px;
    margin-top: 35px;
}

.copy-server {}

p.ip-server {
    display: flex;
    justify-content: center;
    color: rgba(34, 142, 59, 0.79);
    
    font-size: 14px;
    
    font-weight: 500;
    padding-right: 25px;
    align-items: center;
    padding-left: 25px;
    height: 100%;
    background: #D0EED7;
}

.info-server-a {
    color: #98999B;
    
    font-size: 14px;
    
    font-weight: 500;
    border-radius: var(--Roundness-Round-Inside, 6px);
    border: 1px solid var(--Stroke-Light-Base, #E5E5E7);
    background: var(--Background-Light-Base-Main, #FFF);
/* Shadow / XSM */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.04);
    padding: 8px 17px;
}

p.status-server-b.active {
    color: #4F9A4F;
}

p.status-server-b {
    
    font-size: 14px;
    
    color: #F44336;
    font-weight: 500;
}

p.text-about-offline {
    
    font-size: 12px;
    
    color: #F44336;
    font-weight: 500;
    margin-top: 4px;
}

p.online-now {
    color: #7A6AF4;
}

.players-online {
    color: #383838;
    font-size: 14px;
    font-weight: 700;
    gap: 5px;
}

p.rating-text {
    color: #383838;
    font-size: 16px;
    font-weight: 500;
}

.group_button_boost {
    display: flex;
    gap: 15px;
    margin-left: 25px;
}

a.link-custom {
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    color: #0B0B0B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

img.link-server {
    margin-top: -4px;
}

a.link-custom:hover {
    opacity: 0.7;
}

/*Graph*/
#chart-tooltip {
    position: absolute;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid "rgba(124, 77, 255, 0.2)";
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, "0.15");
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    pointer-events: none;
    transform: translate(-50%, -150%) scale(0.9);
}

.chart-tooltip-container {
    position: relative;
}

.chart-tooltip-header {
    font-weight: 600;
    color: "#5a37dc";
    margin-bottom: 12px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid "rgba(90, 55, 220, 0.1)";
    padding-bottom: 8px;
}

.chart-tooltip-values {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tooltip-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    gap: 6px;
}

.tooltip-value-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: "#555555";
}

.tooltip-value-content {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.tooltip-value-number {
    color: "#333333";
}

.chart-tooltip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.chart-tooltip-dot.current-week {
    background: linear-gradient(135deg, #7c4dff, #5a37dc);
    box-shadow: 0 0 8px rgba(124, 77, 255, 0.5);
}

.chart-tooltip-dot.previous-week {
    background: linear-gradient(135deg, #b4b4b4, #8a8a8a);
    box-shadow: 0 0 8px rgba(180, 180, 180, 0.3);
}

.tooltip-change-arrow {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.tooltip-change-arrow.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.tooltip-change-arrow.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.tooltip-change-arrow.equal {
    color: #6b7280;
    background: rgba(107, 114, 128, 0.1);
}

.tooltip-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 8px 0;
}

.tooltip-difference {
    margin-top: 4px;
}

.tooltip-difference-number {
    font-weight: 700;
    font-size: 14px;
}

.tooltip-difference-number.positive {
    color: #10b981;
}

.tooltip-difference-number.negative {
    color: #ef4444;
}

.tooltip-difference-number.neutral {
    color: #6b7280;
}

@media (max-width: 1300px){
    .border {
        width: calc(100% - 40px);
    }
}
@media (max-width: 1250px){
    .right-humburger {
        display: flex;
    }
    .top-info-server {
        flex-direction: column;
    }
    .right-header-top {
        display: none;
    }
    ul.links-header {
        display: none;
    }
    .right-humburger {
        display: flex;
    }
    ul.links-header {
        display: none;
    }
    h1.h1-text {
        font-size: 21px;
    }
    p.object-stats-p {
        font-size: 20px;
    }
    .footer-top-left {
        gap: 20px;
    }
    p.footer-to-up {
        min-width: 188px;
    }
    .footer-top {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 25px;
    }
    .footer-top-left {
        gap: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .footer-center {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 32px;
        margin-bottom: 32px;
        flex-direction: column;
    }
    .right-footer-bottom {
        font-size: 12px;
        margin-top: 23px;
        text-align: center;
    }
    p.left-footer-bottom-text {
        text-align: center;
    }
    .footer-bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    p.left-footer-bottom-text-bottom {
        text-align: center;
    }
    
}
@media (max-width: 800px){
    .images-server {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 720px){
    .profile-server-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    img.banner-server-profile {
        width: 100%;
    }
    .rating-server {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        justify-content: center;
        flex-direction: column;
    }
}