/*
 Theme Name:   Design System Child
 Template:     design-system
*/

.page-template-provider .additional-rank .add-item .add-content > span {
    position: relative;
    display: inline-block;
    margin-right: auto;
}

.page-template-provider .additional-rank .add-item .add-content {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
}

.tooltip {
    position: absolute;
    top: -15px;
    right: -19px;
    padding: 5px;
}

.tooltip-icon {
    background-size: contain;
    background-position: center;
}

.tooltip-icon:hover {
    cursor: pointer;
}

.tooltip-icon:hover .tooltip-content {
    display: block;
}

.other-rank .other-item .other-content {
    position: relative;
}

.tooltip-content {
    position: absolute;
    background: #fff;
    z-index: 99;
    padding: 5px;
    width: 200px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    bottom: 82%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    border-radius: 8px;
    display: none;
}

.tooltip-content p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
    color: grey;
}

.tooltip-content a {
    text-decoration: underline;
    color: #3B36D2;

    &:hover {
        text-decoration: none;
    }
}

@media (max-width: 450px) {
    .tooltip-content {
        width: 150px;
    }
}
