/* Cover box on the Book form: a focus ring for paste, and the status line under the picker. */
[data-cover-paste] {
    border-radius: 0.75rem;
    outline: none;
    transition: box-shadow 0.15s ease;
}

[data-cover-paste]:focus {
    box-shadow: 0 0 0 2px #38bdf8;
}

[data-cover-paste][data-cover-busy] {
    cursor: progress;
}

/* 8px on every side inside the box, so the text never touches the 2px focus ring. */
[data-cover-status] {
    margin: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(229 231 235);
}

[data-cover-status][data-cover-kind="error"] {
    color: rgb(254 202 202);
}
