.icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon--hand-grab,
.icon--x {
    position: absolute;
    top: 0.5rem;
    background-color: var(--color-bg);
    border-radius: 50%;
}

.icon--x {
    right: 0.5rem;
}

.icon--x,
.icon--mail,
.icon--mail-filled {
    cursor: pointer;
}

.icon--hand-grab {
    left: 0.5rem;
    cursor: grab;
}

.icon--message,
.icon--logo {
    width: 42px;
    height: 42px;
}

.icon--message {
    padding-top: 8px;
}

.icon--photo-up {
    width: 120px;
    height: 120px;
}

.icon--mail,
.icon--mail-filled,
.icon--plus {
    width: 32px;
    height: 32px;
}

.convo_cell > .icon--photo-off {
    width: 50px;
    height: 50px;
}

/* Tooltip */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before,
[data-tooltip]::after {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 12px);
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease-in-out 0s;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    background: var(--color-text-secondary);
    color: var(--color-bg-secondary);
    font-size: 13px;
    padding: 0.5em 1em;
    white-space: nowrap;
    top: 100%;
    border-radius: var(--border-radius);
}

[data-tooltip]::after {
    content: "";
    background: transparent;
    border: 8px solid transparent;
    border-bottom-color: var(--color-text-secondary);
    bottom: 0;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
}

/* Avatar */
.avatar {
    vertical-align: middle;
    height: 100px;
    width: 100px;
}

.avatar--small {
    height: 32px;
    width: 32px;
}
