/* ── ContratoAssinatura — ajustes sobre o layout da list ── */

.snc-stat-value-sm {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.snc-pdf-card {
    padding: 2rem 2.5rem;
}

.snc-pdf-parties-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.snc-pdf-body-section {
    margin-bottom: .5rem;
}

.snc-pdf-sign-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding-top: .5rem;
    text-align: center;
}

.snc-pdf-sign-info {
    font-size: .85rem;
    color: #6b7280;
    max-width: 520px;
    line-height: 1.6;
    margin: 0;
}

.snc-pdf-sign-actions {
    display: flex;
    justify-content: center;
    gap: .75rem;
}

.snc-btn-sign {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.75rem;
}

/* ── Objeto do contrato — herda RichTextEditor ──────────── */
.snc-pdf-conteudo {
    font-size: .9rem;
    line-height: 1.75;
    color: #374151;
}

.snc-pdf-conteudo h1,
.snc-pdf-conteudo h2,
.snc-pdf-conteudo h3 { color: #111827; margin: 1.25rem 0 .5rem; }
.snc-pdf-conteudo p  { margin: 0 0 .75rem; }
.snc-pdf-conteudo ul,
.snc-pdf-conteudo ol { padding-left: 1.5rem; margin-bottom: .75rem; }
.snc-pdf-conteudo li { margin-bottom: .25rem; }
.snc-pdf-conteudo strong { font-weight: 600; }
.snc-pdf-conteudo em     { font-style: italic; }
.snc-pdf-conteudo blockquote {
    border-left: 3px solid #0ea5e9;
    padding-left: 1rem;
    color: #6b7280;
    margin: .75rem 0;
}

@keyframes spin { to { transform: rotate(360deg); } }
.snc-spin { animation: spin .8s linear infinite; }

/* ── Partes do Contrato ─────────────────────────────────────── */
.snc-pdf-party-card {
    background: var(--bg-light);
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: .85rem 1.25rem;
    min-width: 180px;
}

.snc-party-contratante { border-top: 3px solid #00c4de; }
.snc-party-contratado  { border-top: 3px solid #6366f1; }

.snc-pdf-party-role {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: .3rem;
}

.snc-pdf-party-name {
    font-size: .9rem;
    font-weight: 600;
    color: #111827;
}

.snc-pdf-party-email {
    font-size: .78rem;
    color: #6b7280;
    margin-top: .2rem;
}

.snc-pdf-party-sep {
    font-size: .85rem;
    color: #9ca3af;
    font-weight: 500;
    padding: 0 .25rem;
}

/* ── Divisória ──────────────────────────────────────────────── */
.snc-pdf-divider {
    border: none;
    border-top: 1px solid #f3f4f6;
    margin: 1.5rem 0;
}

/* ── HTML de revisão (conteúdo renderizado do RTE) ──────────── */
.snc-review-html {
    font-size: .9rem;
    line-height: 1.75;
    color: #374151;
    padding: 0 .25rem;
}

.snc-review-html h1,
.snc-review-html h2,
.snc-review-html h3 { color: #111827; margin: 1.25rem 0 .5rem; }
.snc-review-html p  { margin: 0 0 .75rem; }
.snc-review-html ul,
.snc-review-html ol { padding-left: 1.5rem; margin-bottom: .75rem; }
.snc-review-html li { margin-bottom: .25rem; }
.snc-review-html strong { font-weight: 600; }
.snc-review-html em     { font-style: italic; }

/* .snc-empty-state foi promovido para wwwroot/css/app.css (classe global do padrão de
   estado vazio das telas de visualização). */

/* =============================================
   TEMA ESCURO
   ============================================= */
html[data-theme='dark'] .snc-pdf-sign-info {
    color: var(--text-muted);
}

html[data-theme='dark'] .snc-pdf-conteudo {
    color: var(--text-main);
}

html[data-theme='dark'] .snc-pdf-conteudo h1,
html[data-theme='dark'] .snc-pdf-conteudo h2,
html[data-theme='dark'] .snc-pdf-conteudo h3 {
    color: var(--text-main);
}

html[data-theme='dark'] .snc-pdf-conteudo blockquote {
    border-left-color: #67e8f9;
    color: var(--text-muted);
}

html[data-theme='dark'] .snc-pdf-party-card {
    background: var(--bg-light);
    border-color: var(--border-color);
}

html[data-theme='dark'] .snc-pdf-party-role {
    color: var(--text-muted);
}

html[data-theme='dark'] .snc-pdf-party-name {
    color: var(--text-main);
}

html[data-theme='dark'] .snc-pdf-party-email {
    color: var(--text-muted);
}

html[data-theme='dark'] .snc-pdf-party-sep {
    color: var(--text-muted);
}

html[data-theme='dark'] .snc-pdf-divider {
    border-top-color: var(--border-color);
}

html[data-theme='dark'] .snc-review-html {
    color: var(--text-main);
}

html[data-theme='dark'] .snc-review-html h1,
html[data-theme='dark'] .snc-review-html h2,
html[data-theme='dark'] .snc-review-html h3 {
    color: var(--text-main);
}
