.header__account {
    position: relative;
    margin-right: 10px;
    color: var(--main-text-color);
    transition: all 0.4s ease-in-out;
}

.header__account:hover {
    color: var(--accent-color);
}

.header__account-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-right: 4px;

}


.header__account .header__account-wrapper .mdi {
    width: fit-content;
    height: fit-content;
}

.header__account_active .header__account-wrapper .mdi {
    transform: rotate(180deg);
}

.header__account-wrapper {
    display: flex;
    cursor: pointer;
    padding: 15px 0;
    align-items: center;
}

.header__account-text {
    display: flex;
    cursor: pointer;
}

.header__account-container {
    display: none;
    position: absolute;
    top: 100%;
    background-color: var(--main-background-color);
    z-index: 5;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    min-width: 280px;
    right: 0;
}

@media (max-width: 767px) {
    .header__account-text {
        display: none;
    }
}

@media (max-width: 475px) {

    .header__account-container {
        min-width: 220px;
        right: -20px;
    }
}



.header__account-items {
    padding: 20px;
}

.header__account-link {
    display: block;
    margin: 12px 0;
    color: var(--main-text-color);
    transition: all 0.4s ease-in-out;
}
.header__account-link:hover {
    color: var(--accent-color)
}