/* Reset CSS básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --border-color: #dee2e6;
    --text-color: #333;
    --text-muted: #6c757d;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Layout Global */
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header */
.header {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    font-size: 0.9rem;
    color: var(--light-color);
}

/* Main Content */
.main {
    flex: 1;
    padding: 2rem 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.btn-secondary {
    background-color: var(--text-muted);
    color: white;
}

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

.btn-logout {
    background-color: var(--danger-color);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

.btn-logout:hover {
    background-color: #c82333;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.login-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-form {
    margin-bottom: 1.5rem;
}

.login-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Dashboard */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.role-super_admin {
    background-color: #6f42c1;
    color: white;
}

.role-admin {
    background-color: var(--primary-color);
    color: white;
}

.role-embaixador {
    background-color: var(--secondary-color);
    color: white;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.stat-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sections */
.dashboard-sections {
    display: grid;
    gap: 2rem;
}

.section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s;
}

.action-link:hover:not(.disabled) {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.action-icon {
    font-size: 1.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Profile & Password Pages */
.profile-container,
.change-password-container {
    max-width: 600px;
    margin: 0 auto;
}

.profile-card,
.password-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 1.5rem;
}

.profile-info {
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    font-weight: 600;
    color: var(--text-muted);
}

.info-value {
    color: var(--dark-color);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.badge-danger {
    background-color: var(--danger-color);
    color: white;
}

/* Utilities */
.text-muted {
    color: var(--text-muted);
}

.info-section {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #e7f3ff;
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .profile-actions {
        flex-direction: column;
    }
}

/* ========================================
   Banned Users Page
   ======================================== */

.banned-users-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.banned-users-page .breadcrumb {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.banned-users-page .breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.banned-users-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.banned-users-page .stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid;
}

.banned-users-page .stat-card.danger {
    border-left-color: #dc3545;
}

.banned-users-page .stat-card.secondary {
    border-left-color: #6c757d;
}

.banned-users-page .stat-card.primary {
    border-left-color: #007bff;
}

.banned-users-page .stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.banned-users-page .stat-label {
    font-size: 0.875rem;
    color: #666;
}

.banned-users-page .filters-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.banned-users-page .filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.banned-users-page .filter-input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
}

.banned-users-page .filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.banned-users-page .table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.banned-users-page table {
    width: 100%;
    border-collapse: collapse;
}

.banned-users-page thead {
    background: #343a40;
    color: white;
}

.banned-users-page th,
.banned-users-page td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.banned-users-page tbody tr:hover {
    background: #f8f9fa;
}

.banned-users-page .btn-unban {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
}

.banned-users-page .btn-unban:hover {
    background: #c82333;
}

.banned-users-page .btn-export {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.banned-users-page .btn-export:hover {
    background: #218838;
}

.banned-users-page .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
}

.banned-users-page .pagination-button {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.banned-users-page .pagination-button:hover:not(:disabled) {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.banned-users-page .pagination-button.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.banned-users-page .pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.banned-users-page .pagination-info {
    color: #666;
    font-size: 0.875rem;
}

.banned-users-page .empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Responsive - Banned Users Page */
@media (max-width: 768px) {
    .banned-users-page .stats-grid {
        grid-template-columns: 1fr;
    }

    .banned-users-page .filter-group {
        grid-template-columns: 1fr;
    }

    .banned-users-page .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .banned-users-page table {
        font-size: 0.875rem;
    }

    .banned-users-page th,
    .banned-users-page td {
        padding: 0.5rem;
    }
}

/* ============================================
   Página de Busca de Alunos
   ============================================ */

/* Container de Busca com Autocomplete */
.search-container {
    margin: 2rem 0;
    position: relative;
}

.search-input-wrapper {
    display: flex;
    gap: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.student-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.student-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-search {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-search:hover {
    background-color: #e55a2b;
}

/* Dropdown de Autocomplete */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 800px;
    margin: 0.25rem auto 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: var(--light-color);
}

.autocomplete-item.no-results,
.autocomplete-item.error {
    cursor: default;
    color: var(--text-muted);
    text-align: center;
}

.autocomplete-item.error {
    color: var(--danger-color);
}

/* Card do Aluno */
.student-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.student-card-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

/* Seção do Avatar */
.student-avatar-section {
    text-align: center;
}

.student-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    margin-bottom: 1rem;
    object-fit: cover;
}

.student-avatar-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.student-avatar-section .display-name {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Grid de Informações */
.student-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-field {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
    color: var(--dark-color);
    font-weight: 500;
}

/* Badges de Status */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-secondary {
    background-color: #e2e3e5;
    color: #383d41;
}

/* Ações Rápidas */
.quick-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-unlink {
    background-color: var(--danger-color);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-unlink:hover {
    background-color: #c82333;
}

.btn-ban {
    background-color: #8b0000;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-ban:hover {
    background-color: #6b0000;
}

.btn-view-history {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-view-history:hover {
    background-color: #003d6b;
}

/* Seção de Notas */
.note-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 8px;
}

.note-section h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.note-textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    resize: vertical;
}

.note-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.note-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.note-char-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-add-note {
    background-color: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

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

/* Seção de Histórico */
.history-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.history-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    padding: 1rem;
    border-left: 4px solid var(--border-color);
    background-color: var(--light-color);
    border-radius: 6px;
}

.history-item.success {
    border-left-color: var(--success-color);
}

.history-item.failure {
    border-left-color: var(--danger-color);
}

.history-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.history-emoji {
    font-size: 1.25rem;
}

.history-event-type {
    font-weight: 600;
    color: var(--dark-color);
    flex: 1;
}

.history-timestamp {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.history-item-details {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-size: 1rem;
}



/* Mensagem de Erro */
.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.error-message p {
    color: #721c24;
    margin-bottom: 0.5rem;
}

.error-hint {
    font-size: 0.9rem;
    color: #856404;
}

/* Responsividade */
@media (max-width: 768px) {
    .student-card-grid {
        grid-template-columns: 1fr;
    }

    .student-avatar {
        width: 80px;
        height: 80px;
    }

    .student-info-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        flex-direction: column;
    }

    .quick-actions button {
        width: 100%;
    }

    .search-input-wrapper {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }
}


/* ========================================
   ADMIN USERS PAGE
   ======================================== */

/* Stats Grid 4 colunas */
.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card.purple {
    background: white;
}

.stat-breakdown {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.8;
}

.stat-breakdown div {
    padding: 0.2rem 0;
}

/* Badge roxo para super_admin */
.badge-purple {
    background-color: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Tabela de usuários */
.admin-users-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-users-table thead {
    background-color: var(--dark-color);
    color: white;
}

.admin-users-table th,
.admin-users-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-users-table tbody tr:hover {
    background-color: #f8f9fa;
}

.admin-users-table tbody tr.user-locked {
    background-color: #fff3cd;
}

/* Dropdown de ações */
.actions-dropdown {
    position: relative;
    display: inline-block;
}

.btn-action {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    color: var(--text-color);
}

.btn-action:hover {
    background-color: #e9ecef;
    border-radius: 4px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 1000;
}

.action-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s;
}

.action-item:hover {
    background-color: #f8f9fa;
}

.action-item.danger {
    color: var(--danger-color);
}

.action-item.danger:hover {
    background-color: #f8d7da;
}

.action-item.primary {
    color: var(--primary-color);
}

.action-item.primary:hover {
    background-color: #fff3cd;
}

/* Modal de senha provisória */
.modal-password-display {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--success-color);
}

.modal-password-display input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 4px;
}

.btn-copy-password {
    background-color: var(--success-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

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

.password-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Modal grande para logs */
.modal-large .modal-content {
    max-width: 900px;
}

/* Tabela de logs de acesso */
.login-history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.login-history-table thead {
    background-color: #f8f9fa;
}

.login-history-table th,
.login-history-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.login-history-table tr.login-success {
    background-color: #d4edda;
}

.login-history-table tr.login-failed {
    background-color: #f8d7da;
}

.login-stats {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.login-stats div {
    font-size: 0.95rem;
}

/* Tabs de filtro */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.filter-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.filter-tab:hover {
    color: var(--primary-color);
}

.filter-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Responsividade para Admin Users */
@media (max-width: 1024px) {
    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid-4 {
        grid-template-columns: 1fr;
    }

    .admin-users-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .modal-large .modal-content {
        max-width: 95%;
        margin: 1rem;
    }

    .login-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .filter-tab {
        text-align: left;
        border-bottom: 1px solid var(--border-color);
        border-left: 3px solid transparent;
    }

    .filter-tab.active {
        border-left-color: var(--primary-color);
        border-bottom-color: var(--border-color);
    }
}

/* ========================================
   PÁGINA DE ESTATÍSTICAS
   ======================================== */

/* Filtros de Período */
.period-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.period-preset {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-preset input[type="radio"] {
    display: none;
}

.period-preset:hover {
    border-color: var(--primary-color);
    background: #fff5f0;
}

.period-preset.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.custom-date-range {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.custom-date-range .filter-group {
    flex: 1;
}

.custom-date-range label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Cards de Estatísticas */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
}

.stat-card .stat-info {
    flex: 1;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-card .stat-percentage {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.stat-card.blue .stat-value {
    color: #007bff;
}

.stat-card.green .stat-value {
    color: var(--success-color);
}

.stat-card.orange .stat-value {
    color: var(--warning-color);
}

.stat-card.purple .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card.purple .stat-value {
    color: #6f42c1;
}

/* Grid de Gráficos */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-container {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-container.full-width {
    grid-column: span 2;
}

.chart-container.centered {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.chart-container canvas {
    max-width: 100%;
    height: auto !important;
}

.success-rate-percentage {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--success-color);
    margin-top: 1rem;
}

/* Botão de Exportação PDF */
.btn-export-pdf {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-export-pdf:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-export-pdf.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-export-pdf.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 0.5rem;
}

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

/* Seção de Dados Tabulares */
.data-summary {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.data-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--light-color);
    font-weight: 600;
    color: var(--text-color);
}

.data-table tr:hover {
    background: #f8f9fa;
}

/* Responsividade - Estatísticas */
@media (max-width: 1024px) {
    .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .chart-container.full-width,
    .chart-container.centered {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .stats-cards-grid {
        grid-template-columns: 1fr;
    }

    .period-filters {
        flex-direction: column;
    }

    .period-preset {
        width: 100%;
        justify-content: center;
    }

    .custom-date-range {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }

    .chart-title {
        font-size: 1rem;
    }
}

/* Print Styles para PDF */
@media print {
    .header,
    .breadcrumb,
    .filters-section,
    .btn-export-pdf,
    .page-header button {
        display: none !important;
    }

    body {
        background: white;
    }

    .chart-container {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }

    .charts-grid {
        gap: 1rem;
    }

    * {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* ============================================================================
   Integração Hotmart - Seção e Botões
   ============================================================================ */

.hotmart-integration-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.hotmart-integration-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hotmart-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-check-hotmart {
    background-color: #17a2b8;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-check-hotmart:hover:not(:disabled) {
    background-color: #138496;
}

.btn-check-hotmart:disabled {
    opacity: 0.6;
    cursor: wait;
}

.btn-sync-hotmart {
    background-color: var(--warning-color);
    color: #212529;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-sync-hotmart:hover:not(:disabled) {
    background-color: #e0a800;
}

.btn-sync-hotmart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#hotmart-cache-indicator {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ============================================================================
   Modal de Comparação Hotmart
   ============================================================================ */

#modal-hotmart-comparison {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    padding: 1rem;
}

.modal-hotmart-content {
    background-color: white;
    margin: 2rem auto;
    padding: 0;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-hotmart-content .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-hotmart-content .modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-hotmart-content .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-hotmart-content .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    #modal-hotmart-comparison {
        padding: 0.5rem;
    }

    .modal-hotmart-content {
        margin: 1rem auto;
        max-width: 100%;
    }

    .modal-hotmart-content .modal-header {
        padding: 1rem;
    }

    .modal-hotmart-content .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-hotmart-content .modal-body {
        padding: 1rem;
        max-height: 60vh;
    }

    .modal-hotmart-content .modal-footer {
        padding: 0.75rem 1rem;
        flex-direction: column;
    }

    .modal-hotmart-content .modal-footer button {
        width: 100%;
    }
}

/* ============================================================================
   Indicador de Status Geral
   ============================================================================ */

.status-indicator {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.status-indicator.status-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-indicator.status-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-indicator.status-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================================================
   Tabela de Comparação
   ============================================================================ */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    display: block;
}

.comparison-table thead,
.comparison-table tbody {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.comparison-table th {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: white;
    padding: 0.875rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.comparison-table th:first-child {
    border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table td {
    padding: 0.875rem;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f0f0f0 !important;
}

.divergent-row {
    background-color: #fff8e1 !important;
    border-left: 4px solid #ff9800;
}

.match-row {
    background-color: #e8f5e9 !important;
    border-left: 4px solid #4caf50;
}

.comparison-value {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    /* Esconder coluna "Status" em mobile para economizar espaço */
    .comparison-table th:last-child,
    .comparison-table td:last-child {
        display: none;
    }
}

/* ============================================================================
   Badges de Status
   ============================================================================ */

.badge-match {
    background-color: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-divergent {
    background-color: var(--warning-color);
    color: #212529;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-missing {
    background-color: var(--danger-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================================================
   Dados Extras da API
   ============================================================================ */

.api-extra-data {
    background-color: #f8f9fa;
    border-left: 3px solid var(--secondary-color);
    padding: 0;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.api-extra-data summary {
    cursor: pointer;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    user-select: none;
}

.api-extra-data summary:hover {
    background-color: #e9ecef;
}

.api-data-content {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.api-data-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.api-data-item:last-child {
    border-bottom: none;
}

.api-data-item strong {
    color: var(--secondary-color);
}

/* ============================================================================
   Informação de Cache
   ============================================================================ */

.cache-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #e7f3ff;
    border-left: 3px solid #17a2b8;
    border-radius: 4px;
}

.cache-info .text-muted {
    color: #0c5460 !important;
    font-size: 0.85rem;
}

/* ============================================================================
   Loading States
   ============================================================================ */

.btn.loading {
    cursor: wait;
    opacity: 0.7;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

/* ============================================================================
   Indicadores Visuais Inline
   ============================================================================ */

.status-indicator-inline {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.status-indicator-inline.synced {
    background-color: #d4edda;
    color: #155724;
}

.status-indicator-inline.divergent {
    background-color: #fff3cd;
    color: #856404;
}

.status-indicator-inline.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* ============================================================================
   Animações
   ============================================================================ */

@keyframes rotate {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

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

/* Transições suaves */
.btn,
.badge,
.status-indicator {
    transition: all 0.3s ease;
}

/* ============================================================================
   TASK #9 - SISTEMA DE INATIVAÇÃO DE USUÁRIOS
   ============================================================================ */

/* Status Filter Section */
.status-filter-section {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.filter-radio-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

.filter-radio input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.filter-radio input[type="radio"]:checked + label,
.filter-radio:has(input[type="radio"]:checked) {
    font-weight: 600;
    color: #0d6efd;
}

/* Badge Styles */
.badge-inactive {
    background-color: #dc3545;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.badge-left-server {
    background-color: #ffc107;
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.badge-active {
    background-color: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.inactivation-date {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
    margin-top: 0.25rem;
}

.purchase-date-info {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.purchase-date-info small {
    font-size: 0.85rem;
    color: #6c757d;
    display: block;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

/* ============================================================================
   Histórico de Ações - Toggle
   ============================================================================ */

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.history-header h3 {
    margin: 0;
}

.history-item-hidden {
    display: none;
}

.history-showing-info {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .history-header button {
        width: 100%;
    }
}

.inactivation-reason {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
    margin-top: 0.25rem;
}

/* Reactivate Button */
.btn-reactivate {
    background-color: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

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

.btn-reactivate:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-reactivate.loading {
    position: relative;
    padding-left: 2.5rem;
}

.btn-reactivate.loading::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Modal Overlay for Reactivate */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
}

.modal-content .warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 0.25rem;
    padding: 1rem;
    margin: 1rem 0;
}

.modal-content .warning-box ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .filter-radio-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .status-filter-section {
        padding: 0.75rem;
    }
    
    .btn-reactivate {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

/* Churn Metrics Section */
.churn-metrics {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.stat-card.red {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.stat-card.red .stat-icon {
    font-size: 2.5rem;
}

.stat-detail {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    font-weight: normal;
}

/* Section Header */
.section-header {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.section-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Churners Table */
.churners-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

.churners-table th {
    background: #343a40;
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

.churners-table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.churners-table td.text-center {
    text-align: center;
}

.churners-table tbody tr:hover {
    background: #f8f9fa;
}

.churners-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.churners-table tbody tr:nth-child(even):hover {
    background: #e9ecef;
}

/* Responsividade */
@media (max-width: 768px) {
    .churn-metrics {
        grid-template-columns: 1fr;
    }
    
    .churners-table {
        font-size: 0.875rem;
    }
    
    .churners-table th,
    .churners-table td {
        padding: 0.5rem;
    }
}
