/* RESET DE ESTILOS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f4f4;
    /* Fundo cinza claro para destacar os cards */
    color: #000000;
    /* Texto principal em Preto */
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Sidebar improvements */
aside {
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden !important;
}

/* CABEÇALHO */
header {
    background-color: #e31e24;
    /* Vermelho da Marca */
    color: #ffffff;
    /* Branco */
    border-radius: 12px 12px 0 0;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* NAVEGAÇÃO (ABAS) */
.tab-nav {
    display: flex;
    background-color: #000000;
    /* Preto */
    padding: 10px;
    gap: 5px;
    flex-wrap: wrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #ffcc00;
    /* Amarelo no Hover */
    color: #000000;
    border-color: #ffcc00;
}

.tab-btn.active {
    background-color: #e31e24;
    /* Vermelho Ativo */
    color: #ffffff;
    border-color: #e31e24;
}

/* CONTEÚDO PRINCIPAL */
main {
    background-color: #ffffff;
    /* Branco */
    padding: 30px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

/* TÍTULOS */
h2 {
    color: #e31e24;
    /* Vermelho */
    border-bottom: 3px solid #ffcc00;
    /* Detalhe Amarelo */
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

h3,
h4 {
    color: #000000;
    margin: 20px 0 15px 0;
    font-weight: 700;
}

/* FORMULÁRIOS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: #000;
}

.form-group input:focus {
    border-color: #e31e24;
    outline: none;
}

/* BOTÕES */
button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

button:hover {
    background-color: #333;
}

.btn-primary {
    background-color: #e31e24;
}

.btn-primary:hover {
    background-color: #b3171b;
}

.btn-secondary {
    background-color: #28a745;
    /* Verde para ações positivas */
}

.btn-secondary:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: #dc3545;
}

/* SEÇÕES ESPECIAIS */
.pcmso-integrated-section {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.format-example {
    background-color: #fffde7;
    /* Amarelo bem claro para aviso */
    border-left: 5px solid #ffcc00;
    padding: 15px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* MENSAGENS DO SISTEMA */
.mensagem {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 30px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    z-index: 9999;
    display: none;
}

.mensagem.mostrar {
    display: block;
    animation: slideIn 0.5s ease;
}

.mensagem.sucesso {
    background-color: #28a745;
}

.mensagem.erro {
    background-color: #e31e24;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* TABELAS */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

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

th {
    background-color: #000000;
    color: #ffffff;
    padding: 12px;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    color: #000;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* AJUSTES PARA CELULAR */
@media (max-width: 1024px) {
    .lg\:ml-64 { margin-left: 0 !important; }
    #sidebar.translate-x-0 { transform: translateX(0); }
    #sidebar.-translate-x-full { transform: translateX(-100%); }
    #sidebarOverlay.hidden { display: none; }
    #sidebarOverlay:not(.hidden) { display: block; opacity: 1; }
}

@media (max-width: 768px) {
    .tab-btn {
        flex: 1 1 45%;
        text-align: center;
    }
}

/* REFINO DE MODAIS E TABELAS */
@media (max-width: 640px) {
    .modal-content {
        width: 95% !important;
        max-width: none !important;
        margin: 10px auto !important;
    }
    .table-container, .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }
    .section-title {
        font-size: 1.1rem !important;
    }
}

/* ============================================================
   ESTILOS NOVOS - E-SOCIAL E ESTADOS DE ALERTA
   ============================================================ */

/* A) Animação "Blink" para Sem Procuração */
@keyframes blink-warning-animation {
    0% {
        background-color: transparent;
        box-shadow: none;
    }

    50% {
        background-color: rgba(227, 30, 36, 0.15);
        /* Vermelho marca suave */
        box-shadow: inset 0 0 8px rgba(227, 30, 36, 0.3);
    }

    100% {
        background-color: transparent;
        box-shadow: none;
    }
}

.blink-warning {
    animation: blink-warning-animation 1.5s infinite ease-in-out;
    border: 1px solid #e31e24 !important;
}

/* B) Estados Desabilitados (Eventos não obrigatórios) */
input:disabled,
select:disabled,
textarea:disabled,
.is-disabled {
    opacity: 0.4;
    cursor: not-allowed !important;
    background-color: #f9f9f9;
}

/* C) Linha de Alerta (Realce opcional para linhas de interesse) */
.row-warning {
    background-color: #fff8e1 !important;
    /* Amarelo muito suave */
    border-left: 4px solid #ffcc00;
}

/* Ajuste fino para os selects e inputs da tabela de relatórios */
.status-relatorio,
.obs-relatorio {
    font-size: 0.85rem;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.status-relatorio:focus,
.obs-relatorio:focus {
    border-color: #e31e24;
    outline: 1px solid rgba(227, 30, 36, 0.5);
    box-shadow: 0 0 4px rgba(227, 30, 36, 0.2);
}

.home-v1-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* BLOCO A - CABEÇALHO DO DIA */
.home-v1-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 20px;
    flex-wrap: wrap;
}

.home-v1-verse {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 60%;
}

.bible-card.bible-card--header {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-left: none !important;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    box-shadow: none;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.bible-card--header .bible-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.bible-card--header .bible-text {
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.bible-card--header .bible-reference {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.bible-card--header .bible-reference {
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .home-v1-verse {
        min-width: 100%;
        justify-content: flex-start;
    }

    .bible-card--header {
        max-width: 100%;
    }
}

.home-v1-greeting h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.home-date {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 4px 0;
}

.home-time {
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0.95;
    margin: 0;
}



/* BLOCO B - FRASE BÍBLICA DIÁRIA */
.home-v1-bible {
    margin-bottom: 30px;
}

.bible-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-left: 4px solid #4f46e5;
}

.bible-icon {
    background: #4f46e5;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bible-content {
    flex: 1;
}

.bible-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 8px 0;
    font-style: italic;
    text-align: justify;
}

.bible-reference {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    font-weight: 600;
}

/* BLOCO C - RESUMO OPERACIONAL */
.home-v1-summary {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #4f46e5;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.card-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* COLUNAS */
.home-v1-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
@media (max-width: 768px) {
    .home-v1-columns {
        grid-template-columns: 1fr;
    }
}

/* BLOCO D - LEMBRETES RÁPIDOS */
.home-v1-reminders {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-add {
    background: #10b981;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-add:hover {
    background: #059669;
}

.reminders-list {
    max-height: 300px;
    overflow-y: auto;
}

.reminder-item {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reminder-item.completed {
    opacity: 0.6;
}

.reminder-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.reminder-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.reminder-text {
    font-size: 0.9rem;
    color: #374151;
    flex: 1;
}

.reminder-text.line-through {
    text-decoration: line-through;
}

.reminder-actions {
    display: flex;
    gap: 4px;
}

.btn-icon-small {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-icon-small:hover {
    background: #f3f4f6;
}

.btn-icon-small.text-red:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* BLOCO E - QUADRO DE AVISO GERAL */
.home-v1-notices {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.notices-list {
    max-height: 250px;
    overflow-y: auto;
}

.notice-item {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notice-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.notice-actions {
    display: flex;
    gap: 4px;
}

.notice-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.notice-message {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* BLOCO F - FOCO DO DIA */
.home-v1-focus {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.btn-clear {
    background: #ef4444;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-clear:hover {
    background: #dc2626;
}

.focus-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.focus-content textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.focus-content textarea:focus {
    outline: none;
    border-color: #4f46e5;
}

.btn-save {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.btn-save:hover {
    background: #4338ca;
}

/* MODO LEITURA E EDIÇÃO DO FOCO */
.focus-display {
    background-color: #fff9c4; /* Amarelo Post-it claro */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-left: 5px solid #fbc02d;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 100px;
}

.focus-display-content {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    white-space: pre-wrap;
    font-style: italic;
    word-break: break-word;
}

.btn-edit-focus {
    background: transparent;
    border: 1px solid #fbc02d;
    color: #f57f17;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: flex-end;
    transition: all 0.2s;
}

.btn-edit-focus:hover {
    background: #fbc02d55;
    color: #e65100;
}

.focus-edit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* PAINEL PCMSO REESTRUTURADO */
.pcmso-summary-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 5px;
}

.pcmso-badge-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.pcmso-badge-card.vencido { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.pcmso-badge-card.hoje { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.pcmso-badge-card.proximo { background: #fffbeb; border-color: #fef3c7; color: #92400e; }

.pcmso-badge-number {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.pcmso-badge-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.btn-pcmso-toggle {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4f46e5;
    background: #f5f3ff;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-pcmso-toggle:hover {
    background: #ede9fe;
    transform: translateY(-1px);
}

.pcmso-details-area {
    margin-top: 15px;
    padding: 15px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f1f1f1;
}

.pcmso-group-section {
    margin-bottom: 20px;
}

.pcmso-group-section:last-child { margin-bottom: 0; }

.pcmso-group-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #4b5563;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 4px;
}

.pcmso-item-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #f3f4f6;
    margin-bottom: 6px;
    transition: transform 0.1s;
}

.pcmso-item-compact:hover {
    transform: scale(1.005);
    border-color: #e5e7eb;
}

.pcmso-item-main {
    flex: 1;
    min-width: 0;
}

.pcmso-item-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.pcmso-item-sub {
    font-size: 0.7rem;
    color: #6b7280;
}

.pcmso-status-tag {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    margin-left: 10px;
}

.pcmso-status-tag.vencido { background: #fee2e2; color: #b91c1c; }
.pcmso-status-tag.hoje { background: #ffedd5; color: #c2410c; }
.pcmso-status-tag.proximo { background: #fef3c7; color: #b45309; }

.btn-pcmso-more {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6366f1;
    cursor: pointer;
    text-decoration: underline;
    display: inline-block;
    margin-top: 5px;
    margin-left: 10px;
}

.btn-pcmso-more:hover { color: #4338ca; }

/* BLOCO G - ATALHOS RÁPIDOS */
.home-v1-shortcuts {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.shortcut-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #374151;
}

.shortcut-btn:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
    transform: translateY(-2px);
}

/* MODAIS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-input,
.modal-select,
.modal-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-family: inherit;
}

.modal-input:focus,
.modal-select:focus,
.modal-textarea:focus {
    outline: none;
    border-color: #4f46e5;
}

.modal-textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-primary {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #4338ca;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* RESPONSIVO HOME V1 */
@media (max-width: 768px) {
    .home-v1-container {
        padding: 16px;
    }

    .home-v1-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .home-v1-greeting h1 {
        font-size: 2rem;
    }

    .home-v1-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .summary-cards {
        grid-template-columns: 1fr;
    }

    .shortcuts-grid {
        grid-template-columns: 1fr;
    }

    .bible-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Fundo do conteúdo central (todas as páginas) */
#content {
    background: #eef2f7;
    min-height: 100vh;
}

/* Remove chevron do @tailwindcss/forms apenas no select de status */
select.status-no-chevron {
    background-image: none !important;
    padding-right: 10px !important;
    /* garante respiro no texto */
}

/* MODAL DE ESCOLHA DE FORMATO DE DOCUMENTO (WORD / PDF) */
.mv-doc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: mvDocFadeIn 0.2s ease-out;
}

.mv-doc-modal-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 420px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    animation: mvDocScaleUp 0.2s ease-out;
}

.mv-doc-modal-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.mv-doc-modal-body p {
    margin: 0 0 24px 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.mv-doc-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mv-doc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}

.mv-doc-btn-word {
    background: #2563eb;
    color: #ffffff;
}

.mv-doc-btn-word:hover, .mv-doc-btn-word:focus {
    background: #1d4ed8;
    outline: 2px solid #93c5fd;
}

.mv-doc-btn-pdf {
    background: #dc2626;
    color: #ffffff;
}

.mv-doc-btn-pdf:hover, .mv-doc-btn-pdf:focus {
    background: #b91c1c;
    outline: 2px solid #fca5a5;
}

.mv-doc-btn-cancel {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.mv-doc-btn-cancel:hover, .mv-doc-btn-cancel:focus {
    background: #e5e7eb;
    color: #111827;
}

/* OVERLAY DE CONVERSÃO DE PDF */
.mv-doc-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    color: #ffffff;
}

.mv-doc-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: mvDocSpin 0.8s linear infinite;
    margin-bottom: 16px;
}

.mv-doc-loading-text {
    font-size: 1rem;
    font-weight: 500;
    color: #f9fafb;
}

@keyframes mvDocFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mvDocScaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes mvDocSpin {
    to { transform: rotate(360deg); }
}