.achievement-notifications {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;

    /* reset list styles */
    list-style: none;
    padding: 0;
    margin: 0;

    /* layout */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-notification {
    /* allow absolute button position */
    position: relative;
}

.achievement-notification__link {
    /* reset link styles */
    text-decoration: none;
    color: inherit;

    /* layout */
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    padding-right: 2.5rem;

    /* design */
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    transition: background-color .2s, border-color .2s;
}

.achievement-notification__link:hover {
    color: inherit;
    background: #e6eaed;
    border-color: var(--bg-codedefenders);
}

.achievement-notification__icon {
    width: 3.5rem;
    height: 3.5rem;
}

.achievement-notification__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.achievement-notification__text p {
    margin: 0;
}

.achievement-notification__title {
    font-weight: bold;
}

.achievement-notification .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}