/* Corpo e tipografia */
body { 
    font-family: Arial, sans-serif; 
    margin:0; 
    padding:20px; 
    background-color:#f4f4f9; 
}

/* Título principal */
h1 {
    text-align: center;
    color: #072235;
    margin-bottom: 25px;
    font-size: 2.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Container dos filtros */
.filter-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.filter-container select {
    padding: 10px 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: all 0.2s;
}
.filter-container select:hover {
    border-color: #072235;
    box-shadow: 0 2px 6px rgba(7,34,53,0.2);
}

/* Cards principais */
.cards-row { 
    display:flex; 
    gap:15px; 
    flex-wrap:wrap; 
    margin-bottom:20px; 
}
.cards-row .card {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cards-row .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.cards-row .card h3 {
    background-color: #072235;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: center;
}

/* Supervisor Daily Visits */
#supervisorName { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; color: #072235; }
#dailyVisitDate { font-size: 0.95em; margin-bottom: 10px; color: #555; }
#dailyVisitsList li { padding: 6px 10px; background-color: #f0f0f0; border-radius: 6px; margin-bottom: 5px; list-style: none; color: #333; font-weight: 500; }

/* Last Visited Sites */
#lastVisitedList { display:flex; flex-direction:column; gap:5px; }
.last-visited-item { display:flex; justify-content:space-between; padding:8px; border-radius:6px; font-weight:bold; }
.last-visited-ok { background-color:#4CAF50; color:#fff; }
.last-visited-delay { background-color:#FF5733; color:#fff; }

/* CSR Due */
#csrInfo { font-size: 1em; text-align: center; padding: 15px 10px; background-color: #e3f2fd; border-radius: 8px; font-weight: bold; color: #072235; }

/* Weekly Visits */
#weeklyVisitsCard { margin-bottom: 20px; }
.weekly-cards { display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.weekly-card { flex:1; min-width:120px; background-color:#f0f0f0; border-radius:8px; text-align:center; box-shadow:0 2px 5px rgba(0,0,0,0.1); padding:5px; margin-bottom:10px; }
.weekly-card .day-label { background-color:#072235; color:#fff; padding:3px 0; border-radius:5px; margin-bottom:5px; font-weight:bold; }
.weekly-card .client-visit { padding:4px 0; border-radius:4px; margin-bottom:2px; }
.weekly-card .visited { background-color:#4CAF50; color:#fff; }
.weekly-card .not-visited { background-color:#FF5733; color:#fff; }

/* Charts row */
.charts-row { display:flex; gap:20px; flex-wrap:wrap; margin-top:20px; align-items:flex-start; }
.chart-container { flex:1; min-width:300px; max-width:400px; height:300px; background:#fff; padding:10px; border-radius:10px; box-shadow:0 3px 8px rgba(0,0,0,0.1); }

/* Monthly Visits Summary */
#monthlyVisitsCard { flex:1; min-width:250px; max-height:400px; overflow-y:auto; background:#fff; padding:10px; border-radius:10px; box-shadow:0 3px 8px rgba(0,0,0,0.1); }
#monthlyVisitsCard table { width:100%; border-collapse:collapse; }
#monthlyVisitsCard table th, #monthlyVisitsCard table td { font-size:13px; padding:4px; text-align:left; border:1px solid #ddd; }
#monthlyVisitsCard table th { background-color:#072235; color:#fff; }
#monthlyVisitsCard table tr:nth-child(even){ background-color:#f9f9f9; }
