/* ========================================
   WHATSSITE MULTI PRO - ESTILOS PRINCIPAIS
   ======================================== */

/* GARANTIR QUE NÃO APAREÇA PONTO VERDE - PRIORIDADE MÁXIMA */
.whats-indicator,
.cta-button::before,
.cta-button::after,
*[class*="whats-indicator"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    content: none !important;
}

/* Estilos básicos dos botões CTA */
.cta-button {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.cta-button.whats-multi-active:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ========================================
   RELATÓRIOS E ADMIN
   ======================================== */

.wrap h1 {
    color: #23282d;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.whats-reports-container {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 25px;
}

/* Filtros */
.quick-intervals {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0073aa;
}

.quick-intervals h3 {
    margin-top: 0;
    color: #0073aa;
}

.interval-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.interval-btn {
    background: #0073aa;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.interval-btn:hover {
    background: #005177;
    color: white;
}

.whats-advanced-filters {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Tabela de Relatórios */
.whats-site-report-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.whats-site-report-table th {
    background: #0073aa;
    color: white;
    padding: 15px;
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
}

.whats-site-report-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.whats-site-report-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Badges */
.whatsapp-number-badge, .whatsapp-business-badge, .lead-badge, .device-badge {
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.whatsapp-number-badge { background: #25d366; }
.whatsapp-business-badge { background: #0073aa; }
.lead-badge { background: #ff9800; }

.device-badge {
    text-transform: uppercase;
}
.device-mobile { background: #17a2b8; }
.device-desktop { background: #6f42c1; }
.device-tablet { background: #fd7e14; }

/* Botões de Exportação */
.export-buttons {
    margin-bottom: 20px;
}

.export-btn {
    padding: 10px 16px;
    border: none;
    background: #dc3545;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}
.export-btn:hover {
    background: #c82333;
    color: white;
}

/* Seção de Comparação */
.comparison-section {
    margin: 30px 0;
    padding: 25px;
    background: #f0f8ff;
    border-radius: 12px;
    border-left: 4px solid #17a2b8;
}
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.comparison-card {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
}
.comparison-card.current { background: #28a745; }
.comparison-card.previous { background: #6c757d; }
.comparison-card .number { font-size: 28px; font-weight: 700; display: block; }
.comparison-card .label { font-size: 12px; opacity: 0.9; }

.growth-indicator { font-weight: bold; }
.growth-positive { color: #28a745; }
.growth-negative { color: #dc3545; }

/* Dashboard */
.whats-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-bottom: 4px solid #0073aa;
}
.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #0073aa;
}
.stat-label {
    font-size: 14px;
    color: #6c757d;
}
.stat-growth {
    font-size: 12px;
    font-weight: 600;
}

/* Página de Configuração */
.whats-site-multi-admin {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.config-status {
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.config-status.success { background-color: #d4edda; color: #155724; }
.config-status.error { background-color: #f8d7da; color: #721c24; }
.status-icon { font-size: 20px; }
