@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-sidebar-footer: #f1f5f9;
    --bg-sidebar-active: rgba(30, 58, 138, 0.05);
    --border-color: #cbd5e1; /* Borda um pouco mais viva para melhor contraste */
    
    --primary: #1e3a8a; /* Azul marinho corporativo no claro */
    --primary-hover: #1e40af;
    --secondary: #475569;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #d97706; /* Laranja mais escuro para contraste */
    --info: #0891b2;
    
    --text-main: #0f172a;
    --text-muted: #475569; /* Cinza mais escuro para contraste correto */
    --text-inverse: #ffffff;
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --glass: #ffffff;
    
    --bg-input: #ffffff;
    --text-input: #0f172a;
    --bg-input-focus: #ffffff;
}

.dark-theme {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-sidebar: #0b0f19;
    --bg-sidebar-footer: rgba(0, 0, 0, 0.2);
    --bg-sidebar-active: rgba(59, 130, 246, 0.08);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --primary: #3b82f6; /* Azul elétrico sutil no escuro */
    --primary-hover: #60a5fa;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #fbbf24;
    --info: #06b6d4;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;
    
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --glass: rgba(30, 41, 59, 0.7);
    
    --bg-input: rgba(15, 23, 42, 0.6);
    --text-input: #ffffff;
    --bg-input-focus: rgba(15, 23, 42, 0.8);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* =============================================================================
   🔑 ESTILOS DE TELA CHEIA (GATEKEEPER & LOGIN)
   ============================================================================= */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: var(--bg-main);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    transition: var(--transition);
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: var(--primary);
    color: white;
    font-size: 28px;
    margin-bottom: 24px;
}

.auth-card h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.auth-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

/* Form inputs */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-input);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background-color: var(--bg-input-focus);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn {
    text-decoration: none !important;
}

.btn-primary,
a.btn-primary {
    background-color: var(--primary);
    color: white !important;
    width: 100%;
}

.btn-primary:hover,
a.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white !important;
}

.btn-secondary,
a.btn-secondary {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main) !important;
}

.btn-secondary:hover,
a.btn-secondary:hover {
    background-color: var(--bg-main);
    color: var(--text-main) !important;
}

.btn-danger,
a.btn-danger {
    background-color: var(--danger);
    color: white !important;
}

.btn-danger:hover,
a.btn-danger:hover {
    background-color: #dc2626;
    color: white !important;
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}

/* =============================================================================
   🖥️ LAYOUT ADMINISTRATIVO PRINCIPAL (PAINEL INTERNO)
   ============================================================================= */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.sidebar-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-brand {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

.sidebar-menu {
    list-style: none;
    padding: 20px 12px;
    flex-grow: 1;
    overflow-y: auto;
}

.sidebar-menu-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    padding: 10px 12px;
    margin-top: 15px;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--text-muted);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-item a:hover,
.sidebar-item.active a {
    color: var(--primary);
    background-color: var(--bg-sidebar-active);
}

.sidebar-item.active a {
    font-weight: 600;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
    background-color: var(--bg-sidebar-footer);
}

/* Área de Conteúdo Principal */
.main-content {
    flex-grow: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Topbar */
.topbar {
    height: 70px;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(12px);
}

.topbar-title {
    font-size: 20px;
    font-weight: 600;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    gap: 8px;
}

.user-badge-role {
    font-size: 10px;
    text-transform: uppercase;
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
}

.user-badge-role.genesis {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.btn-logout {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.btn-logout:hover {
    color: var(--danger);
}

.topbar-action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    transition: var(--transition);
}

.topbar-action-btn:hover {
    color: var(--primary);
    background-color: var(--bg-sidebar-active);
}

.topbar-action-btn.warning:hover {
    color: var(--warning);
    background-color: rgba(245, 158, 11, 0.08);
}

.topbar-action-btn.danger:hover {
    color: var(--danger);
    background-color: rgba(239, 68, 68, 0.08);
}

/* Conteúdo da Página */
.page-container {
    padding: 30px;
    flex-grow: 1;
}

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

.page-title h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-title p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

/* =============================================================================
   📊 DASHBOARD CARDS E COMPONENTES GRÁFICOS
   ============================================================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
}

.stat-card.success::before { background-color: var(--success); }
.stat-card.danger::before { background-color: var(--danger); }
.stat-card.warning::before { background-color: var(--warning); }

.stat-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.stat-footer {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Dashboard Layout Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
}

/* =============================================================================
   📂 TABELAS, BADGES E COMPONENTES GERAIS
   ============================================================================= */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.table th {
    padding: 14px 16px;
    background-color: var(--bg-main);
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
}

/* Badges de Status Genericos */
.badge-success {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.22) !important;
}
html.dark-theme .badge-success, .dark-theme .badge-success {
    background-color: rgba(16, 185, 129, 0.12) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.badge-danger {
    background-color: rgba(220, 38, 38, 0.08) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.22) !important;
}
html.dark-theme .badge-danger, .dark-theme .badge-danger {
    background-color: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.28) !important;
}

.badge-warning {
    background-color: rgba(217, 119, 6, 0.08) !important;
    color: #d97706 !important;
    border: 1px solid rgba(217, 119, 6, 0.22) !important;
}
html.dark-theme .badge-warning, .dark-theme .badge-warning {
    background-color: rgba(245, 158, 11, 0.12) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

.badge-info {
    background-color: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
    border: 1px solid rgba(37, 99, 235, 0.22) !important;
}
html.dark-theme .badge-info, .dark-theme .badge-info {
    background-color: rgba(6, 182, 212, 0.12) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(6, 182, 212, 0.28) !important;
}

.badge-secondary {
    background-color: rgba(75, 85, 99, 0.08) !important;
    color: #4b5563 !important;
    border: 1px solid rgba(75, 85, 99, 0.22) !important;
}
html.dark-theme .badge-secondary, .dark-theme .badge-secondary {
    background-color: rgba(148, 163, 184, 0.12) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
}

/* Badges de Conexão Customizados */
.badge-mysql {
    background-color: rgba(79, 70, 229, 0.08) !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(79, 70, 229, 0.22) !important;
    font-weight: 600;
    letter-spacing: 0.04em;
}
html.dark-theme .badge-mysql, .dark-theme .badge-mysql {
    background-color: rgba(99, 82, 255, 0.12) !important;
    color: #a78bfa !important;
    border: 1px solid rgba(99, 82, 255, 0.25) !important;
}

.badge-ftp {
    background-color: rgba(13, 148, 136, 0.08) !important;
    color: #0d9488 !important;
    border: 1px solid rgba(13, 148, 136, 0.22) !important;
    font-weight: 600;
    letter-spacing: 0.04em;
}
html.dark-theme .badge-ftp, .dark-theme .badge-ftp {
    background-color: rgba(6, 182, 212, 0.12) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(6, 182, 212, 0.25) !important;
}

/* Badges de Ambiente */
.badge-env-prod {
    background-color: rgba(220, 38, 38, 0.08) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.22) !important;
    font-weight: 600;
    padding: 3px 8px !important;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
[data-theme="dark"] .badge-env-prod {
    background-color: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.28) !important;
}

.badge-env-homol {
    background-color: rgba(79, 70, 229, 0.08) !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(79, 70, 229, 0.22) !important;
    font-weight: 600;
    padding: 3px 8px !important;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
[data-theme="dark"] .badge-env-homol {
    background-color: rgba(129, 140, 248, 0.12) !important;
    color: #818cf8 !important;
    border: 1px solid rgba(129, 140, 248, 0.28) !important;
}


/* Dashboard Tabs Modernas */
.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    align-items: center;
}

.dashboard-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.dashboard-tab-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.dashboard-tab-link.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

@keyframes pulse-warning {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.badge-pulse {
    animation: pulse-warning 1.5s infinite;
}

/* Ações Rápidas */
.actions-cell {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    color: white;
    background-color: var(--primary);
}

.btn-icon-danger:hover {
    background-color: var(--danger);
}

/* Filtros */
.filter-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filter-grid .form-group {
    flex: 1 1 180px;
    margin-bottom: 0;
}

.filter-grid .filter-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    align-self: flex-end;
}

/* Logs console styles */
.terminal-block {
    background-color: #05070f;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    font-family: monospace;
    font-size: 13px;
    color: #38bdf8;
    max-height: 500px;
    overflow-y: auto;
    line-height: 1.5;
}

.terminal-line {
    margin-bottom: 6px;
    white-space: pre-wrap;
}

.terminal-line.error { color: #f87171; }
.terminal-line.warning { color: #fbbf24; }
.terminal-line.info { color: #34d399; }

/* Checkboxes lote */
.checkbox-cell {
    width: 40px;
    text-align: center;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.batch-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 24px;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 5px;
}

.page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 8px;
    font-size: 14px;
}

.page-item.active .page-link {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Revelacao visual de senhas (Olho) */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrapper .form-control {
    padding-right: 46px;
}

.password-toggle-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.password-toggle-btn:hover {
    color: var(--primary);
}

/* Botão de teste de conexão específico */
.btn-test-connection {
    color: var(--primary) !important;
    background-color: rgba(30, 58, 138, 0.05) !important;
}

.btn-test-connection:hover {
    color: white !important;
    background-color: var(--primary) !important;
}

/* =============================================================================
   💬 MODAL GLOBAL DE SISTEMA
   ============================================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 460px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.modal-overlay.show .modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.modal-icon {
    font-size: 24px;
    display: inline-flex;
}

.modal-icon.success { color: var(--success); }
.modal-icon.error { color: var(--danger); }
.modal-icon.warning { color: var(--warning); }
.modal-icon.info { color: var(--info); }

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}

.modal-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.modal-footer .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* =============================================================================
   📌 CORREÇÃO DA PAGINAÇÃO DO LARAVEL
   ============================================================================= */
.pagination-wrapper nav > div:first-child {
    display: none !important; /* Oculta blocos duplicados de navegação móvel */
}

.pagination-wrapper nav > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}

.pagination-wrapper nav > div:last-child > div:first-child {
    display: block !important; /* Exibe o contador agora traduzido */
    font-size: 13px;
    color: var(--text-muted);
}

.pagination-wrapper nav > div:last-child > div:last-child {
    width: auto !important;
}

