/* Pacote 63 - Biblioteca de modelos e unificação Fui Notificado */
.notice-action-row,
.template-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.notice-action-row .btn,
.template-actions .btn {
    flex: 1 1 180px;
    text-align: center;
}

.notice-lookup-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    margin: 6px 0 14px;
    background: #eaf2ff;
    color: #143d7d;
}

.notice-lookup-status.acknowledged {
    background: #e9f8ef;
    color: #0b6b2a;
}

.notice-lookup-status.clicked {
    background: #fff7e6;
    color: #8a5b00;
}

.notice-lookup-dl {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.notice-lookup-dl div {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.notice-lookup-dl dt {
    font-weight: 800;
    color: #18345a;
}

.notice-lookup-dl dd {
    margin: 0;
    color: #334155;
}

.template-library-hero,
.template-detail-hero,
.notified-unified-hero {
    margin-bottom: 24px;
}

.template-library-card,
.template-library-warning {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.template-filter-form {
    display: grid;
    grid-template-columns: 1.2fr .8fr auto;
    gap: 14px;
    align-items: end;
}

.template-category-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.template-category-pill {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(30, 64, 175, .18);
    color: #1e3a8a;
    font-weight: 700;
}

.template-category-pill.is-active {
    background: #1e3a8a;
    color: #ffffff;
}

.template-library-item {
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.template-library-item p {
    flex: 1;
}

.template-type {
    align-self: flex-start;
    border-radius: 999px;
    padding: 5px 10px;
    background: #eef4ff;
    color: #1e3a8a;
    font-weight: 800;
    font-size: .82rem;
    margin-bottom: 10px;
}

.template-category-name {
    color: #64748b;
    font-weight: 700;
    font-size: .92rem;
    margin-top: -4px;
}

.template-document-body {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 16px;
    padding: 24px;
    line-height: 1.75;
    white-space: normal;
}

.template-document-body p {
    margin: 0 0 16px;
}

.template-side-card .vertical {
    display: grid;
}

.template-side-card hr {
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, .1);
    margin: 22px 0;
}

.admin-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.template-admin-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 90px 110px auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.inline-check {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-weight: 700;
}

.small-input {
    max-width: 90px;
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.monospace-area {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    min-height: 240px;
}

.template-admin-detail {
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fff;
}

.template-admin-detail summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.template-edit-form {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .template-filter-form,
    .template-admin-row,
    .form-grid-two,
    .notice-lookup-dl div {
        grid-template-columns: 1fr;
    }

    .admin-heading-row {
        flex-direction: column;
    }
}
