components/reaction-button/ReactionButton.module.scss
@keyframes open {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    &:hover {
        text-decoration: underline;
        cursor: pointer;
    }

    background-color: var(--white);
    padding: 2px;
    border-radius: 50px;
    position: relative;
}

.no-underline:hover {
    text-decoration: none;
    cursor: default;
}

.icon-box {
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 99999px;
    margin: 1px;
}
// .icon-box:first-child {
//     z-index: 9;
// }
// .icon-box:nth-child(2) {
//     z-index: 8;
// }
// .icon-box:nth-child(3) {
//     z-index: 7;
// }
// .icon-box:nth-child(4) {
//     z-index: 6;
// }
// .icon-box:nth-child(5) {
//     z-index: 5;
// }
// .icon-box:nth-child(6) {
//     z-index: 4;
// }
// .icon-box:nth-child(7) {
//     z-index: 3;
// }

.total {
    margin-left: 8px;
    font-size: 1.4rem;
    font-family: var(--font-family);
}

// Reaction List User

.reactions-listbox {
    padding: 8px 20px 0px 20px;
    border-radius: 10px;
    background-color: var(--white);
    font-family: var(--system-ui);
    max-width: 600px;
    width: 100%;
    height: 468px;
    cursor: default;
    animation: open 0.2s cubic-bezier(0, 0.56, 0.62, 0.57);
}

.header {
    width: 100%;
    height: 48px;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.tabs {
    display: flex;
    align-items: center;
    height: 100%;

    .tab {
        margin-right: 4px;
        padding: 0 8px;
        width: 84px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        transition:
            background-color 0.2s ease-in-out,
            color 0.2s ease-in-out;
        position: relative;

        &:hover {
            background-color: var(--gray-color-low);
            cursor: pointer;
        }
    }

    .no-hover:hover {
        background-color: transparent;
    }

    .more {
        width: 100px;
    }

    .active {
        color: green;
        position: relative;

        .sub-tabs {
            color: var(--white);
        }
    }

    .active::before {
        content: '';
        width: 100%;
        height: 3px;
        background-color: green;
        position: absolute;
        bottom: 0;
    }

    .active:hover {
        background-color: transparent;
        cursor: default;
    }

    .tab-name {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .tab-number {
        margin-left: 8px;
        font-size: 1.4rem;
        font-weight: 500;
        font-size: var(--font-family);
    }
    .addition-icon {
        margin-left: 4px;
    }
}

.sub-tabs.subtabs-active {
    display: block;
}

.sub-tabs.large {
    width: 140%;
}

.sub-tabs {
    display: none;
    margin-top: 4px;
    width: 120%;
    background-color: var(--white);
    position: absolute;
    top: 48px;
    left: 0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);

    border-radius: 12px;
    padding: 4px;

    .check {
        color: green;
        position: absolute;
        right: 4px;
    }

    .tab {
        display: flex;
        justify-content: flex-start;
        padding: 4px 0;
        width: 100%;
        padding: 6px 12px;
        border-radius: 4px;
        color: var(--black-low);

        .tab-number {
            font-size: var(--font-family);
            margin-left: 12px;
            font-weight: 500;
        }

        &:hover {
            background-color: var(--gray-color-low);
        }
    }
}

.content {
    height: calc(100% - 78px);
    margin-top: 24px;
    overflow-x: hidden;

    .reacted-user {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }

    .reacted-user:hover {
        cursor: pointer;
    }

    .avatar-box {
        position: relative;
    }

    .avatar {
        width: 40px;
        height: 40px;
    }

    .text-box {
        margin-left: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .reacted-icon {
        position: absolute;
        right: 8px;
        bottom: 2px;
    }

    .reacted-name {
        font-size: 1.4rem;
        font-weight: 600;
        font-family: var(--font-family);
        letter-spacing: 0.5px;
    }

    .instruction {
        font-size: 1.3rem;
        font-family: var(--font-family);
        letter-spacing: 0.5px;
    }
    .reacted-name:hover {
        // text-decoration: underline;
    }
}

.total-number {
    font-size: 1.4rem;
    font-family: var(--font-family);
    font-weight: 600;
    margin-left: 4px;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50rem;
}
