.hidden {
    visibility: hidden
}

@media (prefers-color-scheme: light) {
    #partner-popup {
        display: flex;
        flex-direction: column;
        top: 54px;
        left: 16px;
        position: absolute;
        z-index: 100;
        background-color: #FFFFFF;
        color: black;
        border-style: none;
        border-radius: 8px;
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
    }
    .partner-popup-divider {
        width: calc(100%-8px);
        height: 1px;
        margin-left: 8px;
        margin-right: 8px;
        background-color: rgb(246, 246, 246);
    }
}

@media (prefers-color-scheme: dark) {
    #partner-popup {
        display: flex;
        flex-direction: column;
        top: 54px;
        left: 16px;
        position: absolute;
        z-index: 100;
        background-color: #232325;
        color: white;
        border-style: none;
        border-radius: 8px;
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
    }
    .partner-popup-divider {
        width: calc(100%-8px);
        height: 1px;
        margin-left: 8px;
        margin-right: 8px;
        background-color: rgb(56, 54, 55);
    }
}

.partner-popup-item {
    display: flex;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform        0.1s ease;
}

.partner-popup-item:hover {
    background-color: rgba(0, 0, 0, 0.07);
}

.partner-popup-item:active {
    background-color: rgba(0, 0, 0, 0.15);
    transform: scale(0.99);
}

.partner-popup-item:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(100, 150, 250, 0.5);
}

.partner-popup-item:first-child {
    border-style: none;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.partner-popup-item:last-child {
    color: #C52925;
    border-style: none;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.partner-popup-image {
    height: 12px;
}

.partner-popup-text {
    user-select: none;
    margin-left: 12px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
    padding: 0px;
}
