.date-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-label {
    font-weight: 500;
    color: #333;
    font-size: 0.9em;
}

.date-input {
    padding: 8px 10px;
    border: 1px solid #cccccc;
    font-size: 0.9em;
    color: #333;
    background: white;
}

.go-button {
    padding: 8px 20px;
    background: #3498db;
    color: white;
    border: none;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9em;
}

.go-button:hover {
    background: #2980b9;
}

.date-info {
    color: #333;
    font-size: 0.9em;
    font-weight: 500;
}

.impressions-section {
    margin-bottom: 30px;
    width: 100%;
    overflow-x: auto;
}

.events-section {
    margin-bottom: 30px;
    width: 100%;
}

.section-subtitle {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
    display: inline-block;
}

.tracking-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border: 1px solid #dee2e6;
}

.tracking-table thead {
    background: #f8f9fa;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.tracking-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
}

.channel-header {
    text-align: center;
    font-size: 0.9em;
}

.channel-data {
    text-align: center;
    font-weight: 600;
    color: #3498db;
}

.tracking-table tbody tr {
    border-bottom: 1px solid #eeeeee;
}

.tracking-table tbody tr:hover {
    background-color: #fafafa;
}

.tracking-table td {
    padding: 12px 15px;
    color: #444;
    font-size: 0.9em;
}

.ad-id-cell {
    font-family: monospace;
    color: #3498db;
    font-weight: 600;
    font-size: 0.9em;
}

.filename-cell {
    color: #333;
    font-weight: 500;
    word-break: break-word;
    max-width: 300px;
}

.channels-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.channel-badge {
    background: #eff6ff;
    color: #2563eb;
    padding: 2px 10px;
    border-radius: 0;
    font-size: 0.8em;
    border: 1px solid #bfdbfe;
    font-weight: 500;
}

.ad-events-card {
    border: 1px solid #dee2e6;
    padding: 15px;
    margin-bottom: 15px;
    background: #fdfdfd;
}

.ad-events-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1em;
}

.event-ad-id {
    font-family: monospace;
    color: #3498db;
    font-weight: 600;
}

.event-filename {
    color: #666;
    font-size: 0.9em;
    margin-left: 10px;
}

.region-label {
    background: #f1f5f9;
    color: #475569;
    padding: 1px 5px;
    font-size: 0.8em;
    font-weight: 600;
    margin-right: 5px;
    font-family: monospace;
    border: 1px solid #cbd5e1;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    table-layout: fixed;
    border: 1px solid #dee2e6;
}

.events-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.events-table th {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.events-table th:first-child {
    text-align: left;
}

.events-table tbody tr {
    border-bottom: 1px solid #eeeeee;
}

.events-table tbody tr:hover {
    background-color: #fafafa;
}

.events-table td {
    padding: 10px;
    color: #444;
    text-align: center;
}

.events-table td:first-child {
    color: #3498db;
    font-weight: 600;
    text-align: left;
}

.no-data {
    text-align: center;
    color: #888;
    padding: 30px;
    font-style: italic;
    background: #f9f9f9;
    border: 1px solid #eee;
}

@media (max-width: 768px) {
    .date-selector {
        flex-direction: column;
        align-items: stretch;
    }
}