.igrejav1-wrap {
    margin: 16px 0;
}

.igrejav1-grid {
    display: grid;
    gap: 16px;
}

.igrejav1-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.igrejav1-card {
    background: #ffffff;
    border: 1px solid #e6e8ef;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(20, 32, 76, 0.05);
}

.igrejav1-card h3,
.igrejav1-card h4,
.igrejav1-card h5 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #1d2366;
}

.igrejav1-number {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #1d2366;
}

.igrejav1-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.igrejav1-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef1ff;
    color: #1d2366;
    font-size: 12px;
    font-weight: 600;
}

.igrejav1-table-wrap {
    overflow-x: auto;
}

.igrejav1-table {
    width: 100%;
    border-collapse: collapse;
}

.igrejav1-table th,
.igrejav1-table td {
    border-bottom: 1px solid #edf0f5;
    padding: 12px;
    text-align: left;
    font-size: 14px;
    vertical-align: top;
}

.igrejav1-col-actions,
.igrejav1-actions-cell {
    width: 96px;
    text-align: center;
}

.igreja-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.igreja-form-grid-tight {
    grid-template-columns: 1fr;
}

.igrejav1-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.igreja-field-full {
    grid-column: 1 / -1;
}

.igrejav1-field label {
    font-size: 14px;
    font-weight: 600;
    color: #1d2366;
}

.igrejav1-field input,
.igrejav1-field select,
.igrejav1-field textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

.igrejav1-actions {
    display: flex;
    justify-content: flex-end;
}

.igrejav1-button {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    background: #1d2366;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.igrejav1-icon-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.igrejav1-inline-form {
    margin: 0;
}

.igrejav1-icon-button {
    appearance: none;
    border: 1px solid #d8deea;
    background: #fff;
    color: #1d2366;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.igrejav1-icon-button svg {
    width: 18px;
    height: 18px;
    display: block;
}

.igrejav1-icon-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(20, 32, 76, 0.10);
}

.igrejav1-icon-button--view:hover {
    background: #f5f7ff;
    border-color: #c7d2fe;
    color: #24308a;
}

.igrejav1-icon-button--edit:hover {
    background: #eef4ff;
    border-color: #bfd3ff;
    color: #175cd3;
}

.igrejav1-icon-button--delete {
    color: #b42318;
    border-color: #fecdca;
    background: #fff7f6;
}

.igrejav1-icon-button--delete:hover {
    background: #fee4e2;
    border-color: #fda29b;
    color: #912018;
}

.igrejav1-notice {
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 600;
}

.igreja-success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.igreja-error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.igreja-warning {
    background: #fffaeb;
    color: #b54708;
    border: 1px solid #fedf89;
}

.igrejav1-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.igrejav1-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e6e8ef;
    border-radius: 12px;
}

.igrejav1-section + .igrejav1-section,
.igrejav1-permission-group + .igrejav1-permission-group {
    margin-top: 16px;
}

.igrejav1-text-muted {
    color: #667085;
}

.igrejav1-section-title {
    grid-column: 1 / -1;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid #edf0f5;
}

.igrejav1-section-title h4 {
    margin: 0 0 6px;
    color: #1d2366;
}

.igrejav1-section-title p {
    margin: 0;
}

.igrejav1-field-help {
    margin: 0;
    font-size: 12px;
    color: #667085;
}

.igrejav1-field input:disabled,
.igrejav1-field select:disabled,
.igrejav1-field textarea:disabled {
    background: #f8fafc;
    color: #98a2b3;
}

.igrejav1-inline-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.igrejav1-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.igrejav1-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.54);
}

.igrejav1-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.igrejav1-modal__dialog--large {
    width: min(980px, calc(100vw - 32px));
}

.igrejav1-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f5;
}

.igrejav1-modal__header h3 {
    margin: 0;
}

.igrejav1-modal__body {
    max-height: calc(100vh - 140px);
    overflow: auto;
    padding: 20px;
}

.igrejav1-detail-section + .igrejav1-detail-section {
    margin-top: 18px;
}

.igrejav1-detail-section__header {
    margin-bottom: 12px;
}

.igrejav1-detail-section__header h4 {
    margin: 0;
    color: #1d2366;
    font-size: 16px;
}

.igrejav1-modal__close {
    appearance: none;
    width: 36px;
    height: 36px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff;
    color: #1d2366;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.igrejav1-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.igrejav1-detail-item {
    padding: 14px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fafbff;
}

.igrejav1-detail-item.is-empty {
    background: #fcfcfd;
}

.igrejav1-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #667085;
    margin-bottom: 6px;
}

.igrejav1-detail-value {
    display: block;
    color: #1d2366;
    word-break: break-word;
}

.igrejav1-detail-item.is-empty .igrejav1-detail-value {
    color: #98a2b3;
    font-style: italic;
}

body.igrejav1-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .igrejav1-grid-3,
    .igreja-form-grid,
    .igrejav1-checkbox-grid,
    .igrejav1-detail-grid {
        grid-template-columns: 1fr;
    }

    .igrejav1-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

.igrejav1-qr-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: center;
}

.igrejav1-qr-content h3 {
    margin: 14px 0 10px;
    color: #1d2366;
    font-size: 25px;
    font-weight: 600;
}

.igrejav1-qr-content p {
    margin: 0 0 18px;
    color: #4b5565;
    line-height: 1.6;
}

.igrejav1-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid #edf0f5;
    border-radius: 18px;
    background: #fafbff;
    text-align: center;
}

.igrejav1-qr-box img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
}

.igrejav1-qr-box small {
    color: #667085;
}

.igrejav1-public-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 32px 16px;
}

.igrejav1-public-visitor-form {
    max-width: 760px;
    margin: 0 auto;
}

.igrejav1-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 900px) {
    .igrejav1-qr-card {
        grid-template-columns: 1fr;
    }

    .igrejav1-qr-box {
        align-items: center;
    }
}

.igrejav1-icon-button--convert {
    color: #027a48;
    border-color: #abefc6;
    background: #ecfdf3;
}

.igrejav1-icon-button--convert:hover {
    background: #dcfae6;
    border-color: #75e0a7;
    color: #05603a;
}

.igrejav1-icon-button--success,
.igrejav1-icon-button--success:disabled {
    color: #027a48;
    border-color: #abefc6;
    background: #ecfdf3;
    cursor: not-allowed;
    opacity: 0.92;
}

.igrejav1-icon-button--disabled,
.igrejav1-icon-button--disabled:disabled {
    color: #98a2b3;
    border-color: #eaecf0;
    background: #f9fafb;
    cursor: not-allowed;
    opacity: 0.75;
}

.igrejav1-icon-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Eventos V1 */
.igrejav1-calendar-card {
    overflow: hidden;
}

.igrejav1-calendar-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
}

.igrejav1-calendar-toolbar h3 {
    margin: 10px 0 0;
    color: #1d2366;
    font-size: 25px;
    font-weight: 600;
}

.igrejav1-calendar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.igrejav1-calendar-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff;
    color: #1d2366;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.igrejav1-calendar-nav__link:hover {
    background: #f5f7ff;
    border-color: #c7d2fe;
}

.igrejav1-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(130px, 1fr));
    border: 1px solid #edf0f5;
    border-radius: 14px;
    overflow-x: auto;
    background: #fff;
}

.igrejav1-calendar-weekday {
    padding: 10px;
    background: #f8f9ff;
    border-right: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
    color: #1d2366;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}

.igrejav1-calendar-weekday:nth-child(7n) {
    border-right: 0;
}

.igrejav1-calendar-day {
    min-height: 132px;
    padding: 10px;
    border-right: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

.igrejav1-calendar-day:nth-child(7n) {
    border-right: 0;
}

.igrejav1-calendar-day.is-other-month {
    background: #fbfcff;
    color: #98a2b3;
}

.igrejav1-calendar-day.is-today {
    box-shadow: inset 0 0 0 2px #1d2366;
}

.igrejav1-calendar-day__number {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #1d2366;
    font-weight: 700;
    margin-bottom: 8px;
}

.igrejav1-calendar-day.is-today .igrejav1-calendar-day__number {
    background: #1d2366;
    color: #fff;
}

.igrejav1-calendar-events {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.igrejav1-calendar-event {
    appearance: none;
    width: 100%;
    border: 1px solid #d8deea;
    border-radius: 9px;
    padding: 7px 8px;
    background: #f8f9ff;
    color: #1d2366;
    cursor: pointer;
    text-align: left;
    line-height: 1.25;
}

.igrejav1-calendar-event:hover {
    background: #eef1ff;
    border-color: #c7d2fe;
}

.igrejav1-calendar-event.is-publicado {
    border-color: #abefc6;
    background: #ecfdf3;
    color: #027a48;
}

.igrejav1-calendar-event.is-cancelado {
    border-color: #fecdca;
    background: #fef3f2;
    color: #b42318;
}

.igrejav1-calendar-event__time {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.igrejav1-calendar-event__title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    word-break: break-word;
}

@media (max-width: 900px) {
    .igrejav1-calendar-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .igrejav1-calendar-nav {
        justify-content: flex-start;
    }

    .igrejav1-calendar-grid {
        grid-template-columns: repeat(7, minmax(116px, 1fr));
    }
}

/* Agenda Pastoral V1 */
.igrejav1-calendar-event.is-agendado {
    border-color: #bfd3ff;
    background: #eef4ff;
    color: #175cd3;
}

.igrejav1-calendar-event.is-realizado {
    border-color: #abefc6;
    background: #ecfdf3;
    color: #027a48;
}

/* Financeiro V1 */
.igrejav1-financial-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0 20px;
}

.igrejav1-financial-card {
    padding: 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
}

.igrejav1-financial-card span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.igrejav1-financial-card strong {
    display: block;
    color: #1d2366;
    font-size: 22px;
    font-weight: 800;
}

.igrejav1-financial-card.is-receita,
.igrejav1-financial-card.is-positive {
    background: #ecfdf3;
    border-color: #abefc6;
}

.igrejav1-financial-card.is-despesa,
.igrejav1-financial-card.is-negative {
    background: #fef3f2;
    border-color: #fecdca;
}

.igrejav1-financial-card.is-pendente {
    background: #fffaeb;
    border-color: #fedf89;
}

.igrejav1-financial-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.igrejav1-financial-pill.is-receita {
    background: #ecfdf3;
    color: #027a48;
}

.igrejav1-financial-pill.is-despesa {
    background: #fef3f2;
    color: #b42318;
}

.igrejav1-money-positive,
.igrejav1-number.is-positive {
    color: #027a48;
    font-weight: 800;
}

.igrejav1-money-negative,
.igrejav1-number.is-negative {
    color: #b42318;
    font-weight: 800;
}

.igrejav1-financial-filters {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
}

.igrejav1-card--inner {
    box-shadow: none;
    margin-bottom: 18px;
}

.igrejav1-section-heading {
    margin: 18px 0 12px;
    color: #1d2366;
}

@media (max-width: 900px) {
    .igrejav1-financial-summary {
        grid-template-columns: 1fr;
    }
}

/* Financeiro V1.0.14 - Fechamento mensal */
.igrejav1-button:disabled,
.igrejav1-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.igrejav1-button--secondary {
    background: #eef2ff;
    color: #1d2366;
    border: 1px solid #c7d7fe;
}

.igrejav1-badge.is-success {
    background: #ecfdf3;
    color: #027a48;
    border-color: #abefc6;
}

.igrejav1-badge.is-warning {
    background: #fffaeb;
    color: #b54708;
    border-color: #fedf89;
}

.igrejav1-financial-closure-panel {
    margin-top: 16px;
}

.igrejav1-financial-closure-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.igrejav1-financial-closure-details > div {
    padding: 14px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
}

.igrejav1-financial-closure-details strong,
.igrejav1-financial-closure-details span {
    display: block;
}

.igrejav1-financial-closure-details strong {
    margin-bottom: 6px;
    color: #1d2366;
}

.igrejav1-financial-closure-actions {
    gap: 10px;
    flex-wrap: wrap;
}

.igrejav1-financial-closure-note {
    margin-top: 12px;
}

.igrejav1-financial-validation-card .igrejav1-toolbar {
    align-items: flex-start;
}

@media (max-width: 900px) {
    .igrejav1-financial-closure-details {
        grid-template-columns: 1fr;
    }
}

/* Financeiro V1.0.17 - Relatório financeiro em PDF */
.igrejav1-report-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
}

.igrejav1-report-actions strong {
    display: block;
    margin-bottom: 4px;
    color: #1d2366;
}

.igrejav1-report-actions p {
    margin: 0;
}

.igrejav1-report-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.igrejav1-report-actions__buttons .igrejav1-button {
    text-decoration: none;
}

.igrejav1-report-actions__note {
    flex-basis: 100%;
    font-size: 13px;
}

@media (max-width: 900px) {
    .igrejav1-report-actions,
    .igrejav1-report-actions__buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .igrejav1-report-actions__buttons .igrejav1-button {
        text-align: center;
    }
}

/* Documentos V1 */
.igrejav1-inner-card {
    box-shadow: none;
    padding: 16px;
}

.igrejav1-documents-filters {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
    align-items: end;
}

.igrejav1-documents-summary {
    margin-bottom: 16px;
}

.igrejav1-document-actions {
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.igrejav1-icon-button--download {
    text-decoration: none;
    color: #175cd3;
    border-color: #bfd3ff;
    background: #eef4ff;
}

.igrejav1-icon-button--download:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1849a9;
}

/* Patrimônio V1 */
.igrejav1-assets-filters {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
    align-items: end;
}

.igrejav1-assets-summary {
    margin-bottom: 16px;
}

.igrejav1-icon-button--archive {
    color: #7a4b00;
    border-color: #f5d08a;
    background: #fff7e6;
}

.igrejav1-icon-button--archive:hover {
    color: #5c3900;
    border-color: #e0aa3e;
    background: #ffedc2;
}

/* Ministérios V1 */
.igrejav1-ministries-filters {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
    align-items: end;
}

.igrejav1-ministries-summary {
    margin-bottom: 16px;
}

/* Aniversariantes V1 */
.igrejav1-birthdays-summary {
    margin-bottom: 4px;
}

.igrejav1-birthday-card h4 {
    margin-bottom: 8px;
}

.igrejav1-birthday-card span {
    display: block;
    color: #667085;
    font-size: 13px;
}

.igrejav1-birthday-card.is-today {
    background: #eef4ff;
    border-color: #bfd3ff;
}

.igrejav1-birthdays-highlight {
    border-color: #abefc6;
    background: #f6fef9;
}

.igrejav1-birthday-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.igrejav1-birthday-person {
    padding: 14px;
    border: 1px solid #d1fadf;
    border-radius: 14px;
    background: #fff;
}

.igrejav1-birthday-person strong,
.igrejav1-birthday-person span,
.igrejav1-birthday-person small {
    display: block;
}

.igrejav1-birthday-person strong {
    color: #1d2366;
    margin-bottom: 5px;
}

.igrejav1-birthday-person span,
.igrejav1-birthday-person small {
    color: #667085;
}

.igrejav1-birthdays-filters {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
    align-items: end;
}

@media (max-width: 900px) {
    .igrejav1-birthday-list {
        grid-template-columns: 1fr;
    }
}

/* Aniversariantes V1.0.24 - mensagem de aniversário por WhatsApp */
.igrejav1-button--small {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.igrejav1-message-target {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fafbff;
    color: #1d2366;
}

.igrejav1-message-target span {
    color: #667085;
    font-size: 14px;
}

/* Aniversariantes V1.0.22 - WhatsApp */
.igrejav1-button--whatsapp {
    background: #128c7e;
    border-color: #128c7e;
    color: #ffffff;
}

.igrejav1-button--whatsapp:hover,
.igrejav1-button--whatsapp:focus {
    background: #0f766c;
    border-color: #0f766c;
    color: #ffffff;
}

/* Aniversariantes - botão de ação com ícone */
.igrejav1-birthday-actions {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}


.igrejav1-icon-button--whatsapp {
    color: #128c7e;
    border-color: #b7eadf;
    background: #f0fdf8;
}

.igrejav1-icon-button--whatsapp:hover,
.igrejav1-icon-button--whatsapp:focus {
    background: #dcfce7;
    border-color: #86efac;
    color: #0f766c;
}

.igrejav1-table .igrejav1-col-actions,
.igrejav1-table .igrejav1-actions-cell {
    width: 112px;
}

/* Painel Geral V1 */
.igrejav1-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.igrejav1-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.igrejav1-general-panel {
    display: grid;
    gap: 18px;
}

.igrejav1-general-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f7f8ff 100%);
}

.igrejav1-general-userline {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fff;
    color: #1d2366;
}

.igrejav1-general-userline span {
    color: #667085;
}

.igrejav1-general-section {
    display: grid;
    gap: 12px;
}

.igrejav1-section-heading h3 {
    margin: 0 0 4px;
    color: #1d2366;
    font-size: 20px;
}

.igrejav1-section-heading p {
    margin: 0;
}

.igrejav1-inner-card {
    box-shadow: none;
}

.igrejav1-kpi-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.igrejav1-kpi-card h4 {
    margin: 0;
    color: #1d2366;
    font-size: 15px;
}

.igrejav1-kpi-module {
    width: fit-content;
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.igrejav1-kpi-meta {
    color: #667085;
    font-size: 13px;
}

.igrejav1-mini-list {
    display: grid;
    gap: 10px;
}

.igrejav1-mini-list__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fafbff;
}

.igrejav1-mini-list__item div {
    display: grid;
    gap: 4px;
}

.igrejav1-mini-list__item strong {
    color: #1d2366;
}

.igrejav1-mini-list__item span,
.igrejav1-mini-list__item small {
    color: #667085;
}

.igrejav1-mini-list__item em {
    color: #475467;
    font-style: normal;
    font-size: 13px;
    text-align: right;
}

@media (max-width: 1100px) {
    .igrejav1-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .igrejav1-grid-4,
    .igrejav1-grid-2 {
        grid-template-columns: 1fr;
    }

    .igrejav1-mini-list__item {
        flex-direction: column;
    }

    .igrejav1-mini-list__item em {
        text-align: left;
    }
}

/* Membresia - carteirinha PDF */
.igrejav1-members-card .igrejav1-col-actions,
.igrejav1-members-card .igrejav1-actions-cell {
    width: 178px;
}

.igrejav1-icon-button--pdf {
    text-decoration: none;
    color: #1d2366;
    border-color: #c7d2fe;
    background: #f5f7ff;
}

.igrejav1-icon-button--pdf:hover,
.igrejav1-icon-button--pdf:focus {
    background: #eef1ff;
    border-color: #a5b4fc;
    color: #1d2366;
}

/* Membresia V1.0.33 - filtros da lista de membros */
.igrejav1-members-filters {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    background: #fafbff;
    align-items: end;
}

.igrejav1-filter-actions {
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .igrejav1-filter-actions .igrejav1-button {
        width: 100%;
        text-align: center;
    }
}
