.attendance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attendance-list__student {
    display: flex;
    margin-bottom: 0.5rem;
}

.attendance-list__avatar {
    flex: 0 0 auto;
    border: 2px solid #ddd;
    margin-right: 0.5rem;
    position: relative;
    height: 52px;
}

.attendance-list__avatar::after {
    position: absolute;
    font-family: 'Font Awesome 5 Pro';
    font-size: 24px;
    font-weight: 900;
    right: 3px;
    bottom: 3px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.attendance-list__avatar img {
    width: 48px;
    height: 48px;
}

.attendance-list__details {
    flex: 1 0 auto;
    font-size: 1rem;
}

.attendance-list__name {}

.attendance-list__title {
    color: #888;
    font-size: 0.8rem;
}

.attendance-list__student--present {
    .attendance-list__avatar {
        border-color: #0f0;
    }

    .attendance-list__avatar::after {
        color: #0f0;
        content: "\f00c";
    }
}

.attendance-list__student--late {
    .attendance-list__avatar {
        border-color: #ff0;
    }

    .attendance-list__avatar::after {
        color: #ff0;
        content: "\f017";
    }
}

.attendance-list__student--absent {
    .attendance-list__avatar {
        border-color: #f00;
    }

    .attendance-list__avatar::after {
        color: #f00;
        content: "\f00d";
    }
}

.attendance-list__student--inflight {
    .attendance-list__avatar::after {
        content: "1" !important;
        animation: spin 1.0s infinite linear;
    }
}

.attendance-graph-header {
    width: 25%;
}

.attendance-graph {
    display: flex;
    flex-wrap: nowrap;
}

.attendance-graph__bar {
    padding: 0 1em;
    color: #000;
    text-align: center;
}

.attendance-graph__bar--present {
    background-color: #0f0;
}

.attendance-graph__bar--late {
    background-color: #ff0;
}

.attendance-graph__bar--registered {
    background-color: #0ff;
}

.attendance-graph__bar--unregistered {
    background-color: #f88;
}