/* Author Declarations plugin styles */

/* Backend: widen the "Before you begin" start-submission card.
   Scoped with :has() so only the start page is affected. */
.app__page:has(.startSubmissionPage__form) {
    max-width: 1100px;
}

/* Branded, organised submission checklist on the start card:
   centre and size the journal logo, and give the checklist clear spacing. */
.startSubmissionPage__form img {
    display: block;
    margin: 0 auto 1rem;
    max-width: 150px;
    height: auto;
}
.startSubmissionPage__form ul {
    margin-top: 0.5rem;
    padding-inline-start: 1.25rem;
    list-style: disc;
}
.startSubmissionPage__form li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Contributors step: the "complete every contributor" notice */
.authorDeclarations__notice {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-inline-start: 4px solid #b45309;
    background: #fef3c7;
    color: #713f12;
    border-radius: 2px;
    line-height: 1.5;
}

/* Frontend: the compiled declarations block on the article page */
.authorDeclarations {
    position: relative;
}
.authorDeclarations .authorDeclaration {
    margin-bottom: 1.5rem;
}
.authorDeclarations .authorDeclaration .label {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}
.authorDeclarations .authorDeclaration .value {
    margin: 0;
}
.authorDeclarations__copy {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    cursor: pointer;
    color: #1f2937;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 3px;
}
.authorDeclarations__copy:hover {
    background: #e5e7eb;
}
.authorDeclarations__copy.is-copied {
    color: #065f46;
    background: #d1fae5;
    border-color: #6ee7b7;
}
