.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideInDown 0.6s ease-out;
}
.header__wr {

    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    position: relative;
}

.header__wrapper {
    padding: 40px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 11;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 47.5px;
    height: 64px;
}
.modal .logo-image {
    width: 41.5px;
    height: 56px;
}

.logo-text {
    font-family: 'ABCGintoBold', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 124%;
    color: var(--black);
    white-space: nowrap;
}
.modal .logo-text {
    font-size: 17.5px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: var(--gray-100);
    border-radius: 100px;
}

.nav-button {
    padding: 10px 20px;
    border-radius: 1000px;
    border: none;
    background: transparent;
    font-family: 'Montserrat Medium', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.1s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-button-active {
    background: var(--white);
    color: var(--black);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    opacity: 0.8;
    background: var(--white);
    color: var(--black);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.header-balance {
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--black);
}

.balance-badge {
    font-family: 'Montserrat-Bold', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    background: var(--orange-50);
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: var(--orange-main);
}

.refresh-icon {
    width: 24px;
    height: 24px;
    color: var(--black);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.refresh-icon:hover {
    transform: rotate(180deg);
}

.contact-card {
    position: absolute;
    top: auto;
    right: 0;
    margin-top: 1px;
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 6px solid rgba(209, 209, 209, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    z-index: 10;
}
.contact-card {
    animation: slideInRight 0.7s ease-out 0.5s both;
}
.contact-card__mobile {
    display: none;
    animation: none;
}

.contact-line {
    font-weight: 500;
    font-size: 16px;
    color: var(--black);
    text-align: center;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-card .contact-phone {
    justify-content: center;
}
.contact-phone:hover .phone-number {
    color: var(--green);
}
.contact-phone:hover .phone-icon {
    color: var(--green);
    fill: var(--green);
}
.contact-phone:hover .phone-icon {
    background: url("../img/icons/phone_green.svg") center/cover no-repeat;
}

.phone-icon {
    width: 20px;
    height: 20px;
    background: url("../img/icons/phone_orange.svg") center/cover no-repeat;
}

.phone-number {
    font-family: 'Montserrat-SemiBold', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: var(--orange-main);
}

.phone-number:hover {
    color: var(--green);
}


.header-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 48px;
}

/* ===== USER SWITCH ===== */
.user-switch__wr {
    position: relative;
}

.user-switch__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
}
.user-switch__select .custom-select__dropdown {
    width: 100%;
    min-width: fit-content;
}

.user-avatar {
    font-family: 'Montserrat-SemiBold', sans-serif;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    line-height: 136%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(325.95deg, #FF6A00 -72.87%, #FFC758 171.66%);
}

.user-name {
    font-family: 'Montserrat Medium', sans-serif;
    font-size: 16px;
    color: var(--black);
}

.user-arrow {
    width: 24px;
    height: 24px;
    background: url("../img/icons/arrow_down_black.svg") center/contain no-repeat;
    background-size: 16px;
    transition: transform 0.25s ease;
}

.header-user__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    padding: 6px;
    display: none;
    z-index: 20;
}

.dropdown-item {
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--gray-100);
}

.dropdown-item.active {
    color: var(--orange-main);
    font-weight: 600;
}