/* Reports page: the markdown Download link drawn as a Mantine "light" button. */

#user-reports-grid .ag-cell[col-id="download"] {
    display: flex;
    align-items: center;
}

#user-reports-grid .ag-cell[col-id="download"] p {
    margin: 0;
}

#user-reports-grid .ag-cell[col-id="download"] a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 12px;
    border-radius: var(--mantine-radius-sm, 4px);
    background: var(--mantine-color-blue-light);
    color: var(--mantine-color-blue-light-color);
    font-size: var(--mantine-font-size-xs, 12px);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 120ms ease;
}

#user-reports-grid .ag-cell[col-id="download"] a:hover {
    background: var(--mantine-color-blue-light-hover);
}

#user-reports-grid .ag-cell[col-id="download"] a::before {
    content: "";
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 20h14v-2H5v2zm7-3l6-6-1.41-1.41L13 13.17V4h-2v9.17L7.41 9.59 6 11l6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 20h14v-2H5v2zm7-3l6-6-1.41-1.41L13 13.17V4h-2v9.17L7.41 9.59 6 11l6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
