/* ==========================================================
   VISITOR REPORT PAGE STYLING (`css/track.css` additions)
   ========================================================== */

.report-wrapper {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.report-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.report-header-box h3 {
    margin: 0;
    color: #333333;
    font-size: 20px;
}

.report-subtext {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666666;
}

.report-back-btn {
    text-decoration: none;
    background: #6c757d;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.report-back-btn:hover {
    background: #5a6268;
    color: #fff;
    text-decoration: none;
}

/* Filter Form Styling */
.report-filter-form {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.report-filter-form .filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.report-filter-form select, 
.report-filter-form input {
    padding: 9px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.report-filter-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.report-filter-btn:hover {
    background: #0056b3;
}

/* Data Table Styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.report-table th, 
.report-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.report-table th {
    background-color: #f1f3f5;
    color: #333333;
    font-weight: 600;
}

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

.no-data {
    text-align: center;
    padding: 25px;
    color: #777777;
    font-style: italic;
}

/* Mobile Responsiveness for Filters */
@media (max-width: 768px) {
    .report-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .report-filter-form .filter-group {
        width: 100%;
    }
    .report-header-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}