/* Poetry / Essay grading rubric (pec/grade_rubric) */

/* Keep the entry in view while the grader scrolls through the rubric */
@media (min-width: 992px) {
    .rubric-entry {
        position: sticky;
        top: 1rem;
    }
}

.rubric-option {
    cursor: pointer;
}

.rubric-option:hover {
    background-color: #f8f9fa;
}

.rubric-option:has(input:checked) {
    background-color: #e9ecef;
    box-shadow: inset 4px 0 0 #6c757d;
}

/* The running total stays visible at the bottom of the window */
.rubric-summary {
    position: sticky;
    bottom: 0.5rem;
    z-index: 2;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.15);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
