.modal {
    height: 460px;
    display: flex;
    padding: 0 !important;
    flex-direction: column;
}

.header {
    background-size: cover;
    border-radius: 8px 8px 0 0;
    background-position: center;
    background-color: var(--secondary-background);

    &[data-force="light"] {
        color: white;
    }

    &[data-force="dark"] {
        color: black;
    }
}

.profile {
    gap: 16px;
    width: 560px;
    display: flex;
    padding: 20px;
    max-width: 100%;
    align-items: center;
    flex-direction: row;

    .details {
        flex-grow: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;

        * {
            min-width: 0;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .username {
            font-size: 22px;
            font-weight: 600;
        }

        .status {
            font-size: 13px;
        }
    }
}

.tabs {
    gap: 8px;
    display: flex;
    padding: 0 1.5em;
    font-size: .875rem;

    > div {
        padding: 8px;
        cursor: pointer;
        border-bottom: 2px solid transparent;
        transition: border-bottom .3s;

        &[data-active="true"] {
            border-bottom: 2px solid var(--foreground);
            cursor: default;
        }

        &:hover:not([data-active="true"]) {
            border-bottom: 2px solid var(--tertiary-foreground);
        }
    }
}

.content {
    gap: 8px;
    height: 100%;
    display: flex;
    padding: 1em 1.5em;
    max-width: 560px;
    overflow-y: auto;
    flex-direction: column;
    background: var(--primary-background);
    border-radius: 0 0 8px 8px;

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

    .category {
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--tertiary-foreground);
        margin-bottom: 8px;

        &:not(:first-child) {
            margin-top: 8px;
        }
    }

    > div {
        > span {
            font-size: 15px;
        }
    }
}

.badges {
    gap: 8px;
    display: flex;
    margin-top: 4px;
    flex-direction: row;

    img {
        width: 32px;
        height: 32px;
        cursor: pointer;
    }
}

.entries {
    gap: 8px;
    display: flex;
    flex-direction: column;

    a {
        min-width: 0;
    }

    .entry {
        gap: 8px;
        min-width: 0;
        padding: 12px;
        display: flex;
        cursor: pointer;
        border-radius: 4px;
        align-items: center;
        color: var(--secondary-foreground);
        background-color: var(--secondary-background);
        transition: background-color .1s;

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

        img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
        }

        span {
            min-width: 0;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    }
}