/* Reader controls use the production page, form, and button styles. */
.reader-page {
    padding-bottom: 3rem;
}

.reader-panel h2 {
    margin-top: 0;
}

.reader-panel .btn {
    width: fit-content;
    max-width: 100%;
}

.reader-panel [role="status"]:empty {
    display: none;
}

.reader-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.reader-page [hidden] {
    display: none !important;
}

.industry-paper-preview {
    display: block;
    width: 100%;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--line-card-hover);
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

#industry-white-paper [hidden] {
    display: none !important;
}

#reader-password-options {
    margin-block: 1rem;
}

#reader-password-options summary {
    cursor: pointer;
    margin-bottom: .75rem;
}

#reader-current-email {
    flex-basis: 100%;
    overflow-wrap: anywhere;
}

.reader-setting {
    flex-basis: 100%;
}

.reader-delete-action {
    margin-top: 1rem;
}

.reader-panel .reader-danger-button {
    background: #a51e2d;
    border: 1px solid #ff818c;
    color: #fff;
}

.reader-panel .reader-danger-button:hover {
    background: #8d1725;
}

.reader-panel .reader-danger-button:focus-visible {
    outline: 2px solid #ffb0b8;
    outline-offset: 3px;
}

.reader-delete-dialog {
    width: min(30rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    margin: auto;
    padding: 1.5rem;
    border: 1px solid #ff818c;
    border-radius: var(--radius-md);
    background: #151e32;
    color: #fff;
}

.reader-delete-dialog::backdrop {
    background: rgb(0 0 0 / 75%);
}

.reader-delete-dialog .reader-account-actions {
    margin-top: 1rem;
}
