.cement-monitor-wrapper {
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cm-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.cm-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.cm-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cm-filter-group label {
    font-size: 13px;
    font-weight: bold;
    color: #555;
}

.cm-date, #cm-line-filter {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    min-width: 140px;
}

.cm-btn {
    padding: 9px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s;
}

.cm-btn-primary {
    background: #3498db;
    color: #fff;
}
.cm-btn-primary:hover {
    background: #2980b9;
}

.cm-btn-secondary {
    background: #95a5a6;
    color: #fff;
}
.cm-btn-secondary:hover {
    background: #7f8c8d;
}

.cm-loading {
    text-align: center;
    padding: 20px;
    color: #3498db;
    font-weight: bold;
}

.cm-error {
    padding: 12px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 15px;
}

.cm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.cm-table thead {
    background: #34495e;
    color: #fff;
}

.cm-table th, .cm-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.cm-table tbody tr:hover {
    background: #f1f8ff;
}

.cm-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.cm-line-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}
.cm-line-1 {
    background: #e3f2fd;
    color: #1565c0;
}
.cm-line-2 {
    background: #fce4ec;
    color: #c2185b;
}

.cm-empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

@media (max-width: 600px) {
    .cm-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .cm-date, #cm-line-filter {
        width: 100%;
    }
    .cm-table {
        font-size: 12px;
    }
    .cm-table th, .cm-table td {
        padding: 6px;
    }
}