.cursor-pointer {
    cursor: pointer;
}

.form-control {
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    border-color: hsl(0, 0%, 80%);
}

.form-control:focus {
    border-color: #2684ff;
    box-shadow: 0 0 0 1px #2684ff;
}

.c-list-group-item {
    padding: 5px;
}

/* Responsive table: collapses each row into a labelled card on small screens. */
@media (max-width: 767.98px) {

    .table-stacked-sm {
        border: 0;
    }

    .table-stacked-sm thead {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .table-stacked-sm tbody tr {
        display: block;
        margin-bottom: 0.75rem;
        border: 1px solid #dee2e6;
        border-radius: 0.5rem;
        background-color: #fff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        overflow: hidden;
    }

    .table-stacked-sm.table-striped tbody tr:nth-of-type(odd) {
        background-color: #fafbfc;
    }

    .table-stacked-sm tbody tr td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
        padding: 0.6rem 0.85rem;
        border: 0;
        border-bottom: 1px solid #f0f1f3;
        text-align: right;
        word-break: break-word;
    }

    .table-stacked-sm tbody tr td:last-child {
        border-bottom: 0;
    }

    .table-stacked-sm tbody tr td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d;
        text-align: left;
        flex-shrink: 0;
        max-width: 45%;
    }

    .table-stacked-sm tbody tr td:not([data-label])::before,
    .table-stacked-sm tbody tr td[data-label=""]::before {
        content: none;
    }

    .table-stacked-sm tbody tr td.table-stacked-full {
        display: block;
        text-align: left;
    }

    .table-stacked-sm tbody tr td.table-stacked-full::before {
        display: block;
        margin-bottom: 0.25rem;
        max-width: none;
    }

}