/* SMS Analytics custom styles */

nav .active {
    font-weight: bold;
    text-decoration: underline;
}

.error-text {
    color: var(--pico-color-red-500, #dc3545);
    font-size: 0.9em;
}

.flash {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.flash.success {
    background: #d4edda;
    color: #155724;
}

.flash.error {
    background: #f8d7da;
    color: #721c24;
}

.flash.info {
    background: #d1ecf1;
    color: #0c5460;
}

mark.status-completed {
    background: #d4edda;
    color: #155724;
}

mark.status-running {
    background: #fff3cd;
    color: #856404;
}

mark.status-failed {
    background: #f8d7da;
    color: #721c24;
}

mark.status-partial {
    background: #ffe8a1;
    color: #856404;
}

.htmx-indicator {
    display: none;
    opacity: 0.7;
    font-style: italic;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: inline;
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
    margin-bottom: 16px;
}

.filter-bar label {
    margin-bottom: 0;
}

.filter-bar select,
.filter-bar input {
    margin-bottom: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

table {
    font-size: 0.9em;
}

td.content-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-section {
    margin-bottom: 24px;
}
